Beispiel #1
0
 private static RuleExpression AddWithOr(BaseExpression lhs, BaseTerminal rhs)
 {
     return AddWithOr(
         lhs,
         new SymbolExpression(
             new LexerRuleModel(
                 new TerminalLexerRule(rhs, rhs.ToString()))));
 }
Beispiel #2
0
 private static RuleExpression AddWithAnd(BaseTerminal lhs, BaseExpression rhs)
 {
     return AddWithAnd(
         new SymbolExpression(
             new LexerRuleModel(
                 new TerminalLexerRule(lhs, lhs.ToString()))),
         rhs);
 }