public override bool Visit(AstArgumentsCallList node)
 {
     ErrorIfIsNull(node.Arguments);
     return true;
 }
Exemplo n.º 2
0
 public AstExternalMethodCallExpression(AstIdExpression target, AstIdExpression name, AstArgumentsCallList callArgs)
 {
     Target = target;
     Name = name;
     CallArgs = callArgs;
 }
 public override bool Visit(AstArgumentsCallList node)
 {
     return true;
 }
Exemplo n.º 4
0
 public AstThisMethodCallExpression(AstIdExpression name, AstArgumentsCallList callArgs)
 {
     Name = name;
     CallArgs = callArgs;
 }
Exemplo n.º 5
0
 // #CALL_ARGS LEFT_PAREN RIGHT_PAREN
 private void ConstructEmptyCallArgs()
 {
     var astArgumentsCallList = new AstArgumentsCallList(new List<AstCallArgument>());
     PushNode(astArgumentsCallList);
 }
Exemplo n.º 6
0
        // #CALL_ARGS LEFT_PAREN #CALL_ARGS_LIST RIGHT_PAREN
        private void ConstructCallArgs()
        {
            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 astArgumentsCallList = new AstArgumentsCallList(callArgs);
            PushNode(astArgumentsCallList);
        }
Exemplo n.º 7
0
        public override bool Visit(AstArgumentsCallList node)
        {
            foreach (var arg in node.Arguments)
            {
                arg.Expr.Accept(this);
                SaveArgInList(GetLastSavedArg());

            }
            return false;
        }
Exemplo n.º 8
0
 public abstract bool Visit(AstArgumentsCallList node);