Class: Lkml::Tree::QuotedSyntaxToken

Inherits:
SyntaxToken show all
Defined in:
lib/lkml/tree.rb

Instance Attribute Summary

Attributes inherited from SyntaxToken

#line_number, #prefix, #suffix, #value

Instance Method Summary collapse

Methods inherited from SyntaxToken

#==, #accept, #eql?, #hash, #initialize, #to_s, #with

Constructor Details

This class inherits a constructor from Lkml::Tree::SyntaxToken

Instance Method Details

#format_valueObject



140
141
142
# File 'lib/lkml/tree.rb', line 140

def format_value
  "\"#{@value.gsub('\\"', '"').gsub('"', '\\"')}\""
end