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