class Atomy::Grammar::AST::StringLiteral
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/atomy/node/equality.rb, line 109 def ==(other) super || other.is_a?(self.class) && @value == other.value end
construct(gen)
click to toggle source
# File lib/atomy/node/constructable.rb, line 163 def construct(gen) push_node(gen, :StringLiteral) gen.push_literal(@value) gen.send(:new, 1) end
each_attribute() { |:value, value| ... }
click to toggle source
# File lib/atomy/node/meta.rb, line 202 def each_attribute yield :value, @value end
to_s()
click to toggle source
# File lib/atomy/node/pretty.rb, line 104 def to_s @value.inspect end