File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,19 @@ class Test262BaselineRunner extends RunnerBase {
4242 var childNodesAndArrays : any [ ] = [ ] ;
4343 ts . forEachChild ( node , child => { childNodesAndArrays . push ( child ) } , array => { childNodesAndArrays . push ( array ) } ) ;
4444
45+ /*
46+ parent?: Node; // Parent node (initialized by binding)
47+ symbol?: Symbol; // Symbol declared by node (initialized by binding)
48+ locals?: SymbolTable; // Locals associated with node (initialized by binding)
49+ nextContainer?: Node; // Next container in declaration order (initialized by binding)
50+ localSymbol?: Symbol; // Local symbol declared by node (initialized by binding only for exported nodes)
51+ modifiers?: ModifiersArray; // Array of modifiers
52+ */
53+
4554 for ( var childName in node ) {
55+ if ( childName === "parent" || childName === "nextContainer" || childName === "modifiers" ) {
56+ continue ;
57+ }
4658 var child = ( < any > node ) [ childName ] ;
4759 if ( Test262BaselineRunner . isNodeOrArray ( child ) ) {
4860 if ( childNodesAndArrays . indexOf ( child ) < 0 ) {
You can’t perform that action at this time.
0 commit comments