Exemplo n.º 1
0
 public TerminalBuilder(BuildGrammar buildGrammar, RawGrammar rawGrammar)
 {
     BuildGrammar = buildGrammar;
     RawGrammar   = rawGrammar;
 }
Exemplo n.º 2
0
 public NonterminalBuilder(BuildGrammar buildGrammar, RawGrammar rawGrammar)
 {
     BuildGrammar = buildGrammar;
     RawGrammar   = rawGrammar;
     ToDo         = new Queue <(Nonterminal, IEnumerable <IExpression>)>();
 }
Exemplo n.º 3
0
 public GrammarBuilder(RawGrammar tree)
 {
     RawGrammar   = tree;
     BuildGrammar = new BuildGrammar(RawGrammar.Name);
 }