Exemplo n.º 1
0
 public ParseEngine(IGrammar grammar, ParseEngineOptions options)
 {
     Options = options;
     _nodeSet = new ForestNodeSet();
     Grammar = grammar;
     Initialize();
 }
Exemplo n.º 2
0
 public ParseEngine(Grammar grammar, ParseEngineOptions options)
 {
     Grammar      = grammar;
     Options      = options;
     NodeSet      = new ForestNodeSet();
     StateFactory = new StateFactory(DottedRules);
     Initialize();
 }
Exemplo n.º 3
0
 public ParseEngine(IGrammar grammar, ParseEngineOptions options)
 {
     _dottedRuleRegistry = new GrammarSeededDottedRuleRegistry(grammar);
     StateFactory        = new StateFactory(_dottedRuleRegistry);
     Options             = options;
     _nodeSet            = new ForestNodeSet();
     Grammar             = grammar;
     Initialize();
 }