Top Level Namespace

Includes:
Treetop

Defined Under Namespace

Modules: AndPredicateSpec, AnythingSymbolSpec, CharacterClassSpec, ChoiceSpec, CircularCompilationSpec, CompiledParserSpec, GrammarCompositionSpec, GrammarSpec, IntervalSkipListSpecHelper, Less, NonterminalSymbolSpec, NotPredicateSpec, OneOrMoreSpec, OptionalSpec, ParenthesizedExpressionSpec, ParsingRuleSpec, SequenceSpec, SyntaxNodeSpec, TerminalSymbolSpec, Treetop, ZeroOrMoreSpec Classes: Array, Class, IntervalSkipList, Object, SeqParBenchmark, String, Symbol

Constant Summary collapse

LESS_ROOT =
File.expand_path(File.dirname(__FILE__))
LESS_PARSER =
File.join(LESS_ROOT, 'less', 'engine', 'parser.rb')
LESS_GRAMMAR =
File.join(LESS_ROOT, 'less', 'engine', 'grammar')
TREETOP_ROOT =
File.join(dir, 'treetop')
TREETOP_VERSION_REQUIRED_TO_BOOTSTRAP =
'>= 1.1.5'
Trusted =

Relocating trusted version of Treetop to Trusted::Treetop

Module.new
METAGRAMMAR_PATH =

Compile and evaluate freshly generated metagrammar source

File.join(TREETOP_ROOT, 'compiler', 'metagrammar.treetop')
BENCHMARK =
false

Method Summary

Methods included from Treetop

load, load_from_string