Parent

Methods

Dhaka::ParseTreeLeafNode

These are leaf nodes of syntax trees. They contain tokens.

Attributes

token[R]

Public Instance Methods

to_dot(graph) click to toggle source

Returns the dot representation of this node.

# File lib/dhaka/parser/parse_tree.rb, line 58
def to_dot(graph)
  graph.node(self, :label => token)
end
tokens() click to toggle source
# File lib/dhaka/parser/parse_tree.rb, line 49
def tokens
  [token]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.