Class Parslet::ErrorTree
In: lib/parslet/error_tree.rb
Parent: Object

A tree structure that contains parse error messages. This can be used to give the user a detailed report on what went wrong during a parse.

Methods

ascii_tree   cause   nodes   to_s  

Attributes

children  [R]  All errors that were encountered when parsing part of this parslet.
parslet  [R]  The parslet that caused the error stored here.

Public Instance methods

Returns an ascii tree representation of the causes of this node and its children.

to_s()

Alias for ascii_tree

[Validate]