protected override object OnTerminalRule(INonterminalToken token) { if (token == null) { throw new ArgumentNullException(nameof(token)); } return(TerminalRule.From(token.Terminal(0).Value, Visit <IExpression>(token[1]))); }
protected override object OnTerminalRule(INonterminalToken token) { return(TerminalRule.From(token.Terminal(0).Value, Visit <IExpression>(token[1]))); }
protected override object OnVariableTerminalRule(ASTNode node) { return(TerminalRule.From(VisitChild <Name>(node, 0).Text, VisitChild <IExpression>(node, 1))); }