class Atomy::Grammar::AST::Quote

Public Instance Methods

==(other) click to toggle source
Calls superclass method
# File lib/atomy/node/equality.rb, line 26
def ==(other)
  super || other.is_a?(self.class) && @node == other.node
end
construct(gen) click to toggle source
# File lib/atomy/node/constructable.rb, line 48
def construct(gen)
  push_node(gen, :Quote)
  @node.construct(gen)
  gen.send(:new, 1)
end
each_child() { |:node, node| ... } click to toggle source
# File lib/atomy/node/meta.rb, line 75
def each_child
  yield :node, @node
end
through() { |node)| ... } click to toggle source
# File lib/atomy/node/meta.rb, line 79
def through
  self.class.new(yield @node)
end
to_s() click to toggle source
# File lib/atomy/node/pretty.rb, line 23
def to_s
  "'#@node"
end