Ejemplo n.º 1
0
 public static void WalkFunctionBody([NotNull] BaseNode node, [NotNull] List <IDeclaration> list)
 {
     if (node is BlockStatementNode block)
     {
         TopLevelLexicallyScopedDeclarationsWalker.Walk(block.Body, list);
     }
 }
Ejemplo n.º 2
0
 public static void Walk([NotNull] ProgramNode node, [NotNull] List <IDeclaration> list)
 {
     TopLevelLexicallyScopedDeclarationsWalker.Walk(node.Body, list);
 }