public override bool Visit(AstArrayIndex node)
 {
     ErrorIfIsNull(node.Expr);
     return true;
 }
 public override bool Visit(AstArrayIndex node)
 {
     // TODO : check
     return true;
 }
示例#3
0
 private void ConstructExpressionList2()
 {
     var callArgs = new List<AstArrayIndex>();
     var curr = nodes.Peek() as AstNode;
     while (curr is AstArrayIndex)
     {
         nodes.Pop();
         callArgs.Insert(0, curr as AstArrayIndex);
         curr = nodes.Peek() as AstNode;
     }
     var expr = nodes.Pop() as AstExpression;
     var callArg = new AstArrayIndex(expr);
     PushNode(callArg);
     foreach (var arg in callArgs)
     {
         PushNode(arg);
     }
 }
示例#4
0
 private void ConstructExpressionList()
 {
     var expr = nodes.Pop() as AstExpression;
     var callArg = new AstArrayIndex(expr);
     PushNode(callArg);
 }
 public override bool Visit(AstArrayIndex node)
 {
     return true;
 }
 public abstract bool Visit(AstArrayIndex node);