示例#1
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(ShouldWalkWorker(node));
 }
示例#2
0
 // NonlocalStatement
 public virtual bool Walk(NonlocalStatement node)
 {
     return(true);
 }
示例#3
0
 public virtual void PostWalk(NonlocalStatement node)
 {
 }
示例#4
0
 public override bool Walk(NonlocalStatement node) => Save(node, base.Walk(node), "nonlocal");
示例#5
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(Location >= node.StartIndex && Location <= node.EndIndex);
 }
示例#6
0
 public virtual void PostWalk(NonlocalStatement node)
 {
 }
示例#7
0
 public override void PostWalk(NonlocalStatement node)
 {
 }
示例#8
0
 public void VisitNonLocal(NonlocalStatement n)
 {
     gen.Comment("LOCAL " + string.Join(", ", n.names));
 }
示例#9
0
 public SymbolTable VisitNonLocal(NonlocalStatement n)
 {
     throw new NotImplementedException();
 }
示例#10
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(Contains(node));
 }
示例#11
0
 public DataType VisitNonLocal(NonlocalStatement non)
 {
     // Do nothing here because global names are processed by VisitSuite
     return(DataType.Cont);
 }
 public override Task <bool> WalkAsync(NonlocalStatement node, CancellationToken cancellationToken = default)
 => NonLocalHandler.HandleNonLocalAsync(node, cancellationToken);
示例#13
0
        public override bool Walk(NonlocalStatement node)
        {
            UpdateLineInfo(node);

            return(base.Walk(node));
        }
 public override bool Walk(NonlocalStatement node)
 {
     CanComplete = IsActualExpression(node.Names);
     return(base.Walk(node));
 }
示例#15
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node) { return Location >= node.StartIndex && Location <= node.EndIndex; }
示例#16
0
 public override bool Walk(NonlocalStatement node) => NonLocalHandler.HandleNonLocal(node);
示例#17
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return false;
 }
示例#18
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(false);
 }
示例#19
0
 // NonlocalStatement
 public virtual bool Walk(NonlocalStatement node)
 {
     return true;
 }
示例#20
0
 public override void PostWalk(NonlocalStatement node)
 {
 }
示例#21
0
 public void VisitNonLocal(NonlocalStatement n)
 {
     throw new NotImplementedException();
 }
示例#22
0
 public override void PostWalk(NonlocalStatement node)
 {
     PostWalkWorker(node);
 }