Class ParseTree
In: lib/parse_tree.rb
Parent: RawParseTree

Methods

new   process  

Public Class methods

Initializes a ParseTree instance. Includes newline nodes if include_newlines which defaults to +$DEBUG+.

Public Instance methods

Main driver for ParseTree. Returns a Sexp instance containing the AST representing the input given. This is a UnifiedRuby sexp, not a raw sexp from ruby. If you want raw, use the old parse_tree_for_xxx methods… Please tell me if/why you want raw, I‘d like to know so I can justify keeping the code around.

[Validate]