class Rley::ParseRep::ParseTreeFactory
Utility class that helps to create a ParseTree from a given Parsing object.
Protected Instance Methods
Source
# File lib/rley/parse_rep/parse_tree_factory.rb, line 16 def builder(aParseResult, aBuilder = nil) if aBuilder aBuilder.new(aParseResult.tokens) # steep:ignore UnexpectedPositionalArgument else CSTBuilder.new(aParseResult.tokens) end end
Create a Builder, that is, an object that will create piece by piece the forest