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