Exemple #1
0
 public override void ExitSingle_rule([NotNull] RuleSetGrammarParser.Single_ruleContext context)
 {
     this.rule.condition = this.logicalExpressions.Pop();
     this.ruleSet.rules.Add(this.rule);
     this.rule = null;
 }
Exemple #2
0
 public override void EnterSingle_rule([NotNull] RuleSetGrammarParser.Single_ruleContext context)
 {
     this.rule = new Rule();
 }