Parent

Dhaka::ParseSuccessResult

Returned on successful parsing of the input token stream.

Attributes

parse_tree[RW]

Contains the parse result.

syntax_tree[RW]

Contains the parse result.

Public Instance Methods

has_error?() click to toggle source

This is false.

# File lib/dhaka/parser/parse_result.rb, line 13
def has_error? 
  false
end
to_dot() click to toggle source

Returns the dot representation of the parse tree

# File lib/dhaka/parser/parse_result.rb, line 18
def to_dot
  Dot::Digraph.new(:fontsize => 10, :shape => :box, :size => 5) do |g|
    parse_tree.to_dot(g)
  end.to_dot
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.