public override bool Visit(AstCallArgument node)
 {
     ErrorIfIsNull(node.Expr);
     return true;
 }
 public override bool Visit(AstCallArgument node)
 {
     return true;
 }
Exemplo n.º 3
0
 // #CALL_ARGS_LIST #EXPRESSION
 private void ConstructCallArgsList()
 {
     var expr = nodes.Pop() as AstExpression;
     var callArg = new AstCallArgument(expr);
     PushNode(callArg);
 }
Exemplo n.º 4
0
 // #CALL_ARGS_LIST #EXPRESSION COMMA #CALL_ARGS_LIST
 private void ConstructCallArgsListAdd()
 {
     var callArgs = new List<AstCallArgument>();
     var curr = nodes.Peek() as AstNode;
     while (curr is AstCallArgument)
     {
         nodes.Pop();
         callArgs.Insert(0, curr as AstCallArgument);
         curr = nodes.Peek() as AstNode;
     }
     var expr = nodes.Pop() as AstExpression;
     var callArg = new AstCallArgument(expr);
     PushNode(callArg);
     foreach (var arg in callArgs)
     {
         PushNode(arg);
     }
 }
Exemplo n.º 5
0
 public abstract bool Visit(AstCallArgument node);