Ejemplo n.º 1
0
 // FromImportStmt
 public override bool Walk(FromImportStmt node)
 {
     if (node.names != FromImportStmt.Star)
     {
         for (int i = 0; i < node.names.Length; i++)
         {
             Define(node.asNames[i] != null ? node.asNames[i] : node.names[i]);
         }
     }
     return(true);
 }
Ejemplo n.º 2
0
 // FromImportStmt
 public override bool Walk(FromImportStmt node)
 {
     if (node.names != FromImportStmt.Star)
     {
         for (int i = 0; i < node.names.Length; i++)
         {
             Define(node.asNames[i] != null ? node.asNames[i] : node.names[i]);
         }
     }
     else
     {
         Debug.Assert(current != null);
         current.ContainsImportStar = true;
     }
     return(true);
 }
Ejemplo n.º 3
0
 public virtual void PostWalk(FromImportStmt node)
 {
 }
Ejemplo n.º 4
0
 // FromImportStmt
 public virtual bool Walk(FromImportStmt node)
 {
     return(false);
 }