Beispiel #1
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(ShouldWalkWorker(node));
 }
Beispiel #2
0
 // NonlocalStatement
 public virtual bool Walk(NonlocalStatement node)
 {
     return(true);
 }
Beispiel #3
0
 public virtual void PostWalk(NonlocalStatement node)
 {
 }
Beispiel #4
0
 public override bool Walk(NonlocalStatement node) => Save(node, base.Walk(node), "nonlocal");
Beispiel #5
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(Location >= node.StartIndex && Location <= node.EndIndex);
 }
Beispiel #6
0
 public virtual void PostWalk(NonlocalStatement node)
 {
 }
Beispiel #7
0
 public override void PostWalk(NonlocalStatement node)
 {
 }
Beispiel #8
0
 public void VisitNonLocal(NonlocalStatement n)
 {
     gen.Comment("LOCAL " + string.Join(", ", n.names));
 }
Beispiel #9
0
 public SymbolTable VisitNonLocal(NonlocalStatement n)
 {
     throw new NotImplementedException();
 }
Beispiel #10
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(Contains(node));
 }
Beispiel #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);
Beispiel #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));
 }
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node) { return Location >= node.StartIndex && Location <= node.EndIndex; }
Beispiel #16
0
 public override bool Walk(NonlocalStatement node) => NonLocalHandler.HandleNonLocal(node);
Beispiel #17
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return false;
 }
Beispiel #18
0
 // NonlocalStatement
 public override bool Walk(NonlocalStatement node)
 {
     return(false);
 }
Beispiel #19
0
 // NonlocalStatement
 public virtual bool Walk(NonlocalStatement node)
 {
     return true;
 }
Beispiel #20
0
 public override void PostWalk(NonlocalStatement node)
 {
 }
Beispiel #21
0
 public void VisitNonLocal(NonlocalStatement n)
 {
     throw new NotImplementedException();
 }
Beispiel #22
0
 public override void PostWalk(NonlocalStatement node)
 {
     PostWalkWorker(node);
 }