@@ -1555,6 +1555,7 @@ public Label visit(ImportDeclaration nd, Context c) {
15551555 Label lbl = super .visit (nd , c );
15561556 visit (nd .getSource (), lbl , -1 );
15571557 visitAll (nd .getSpecifiers (), lbl );
1558+ emitNodeSymbol (nd , lbl );
15581559 return lbl ;
15591560 }
15601561
@@ -1705,6 +1706,7 @@ public Label visit(ExportWholeDeclaration nd, Context c) {
17051706 public Label visit (ExternalModuleReference nd , Context c ) {
17061707 Label key = super .visit (nd , c );
17071708 visit (nd .getExpression (), key , 0 );
1709+ emitNodeSymbol (nd , key );
17081710 return key ;
17091711 }
17101712
@@ -2061,12 +2063,14 @@ public Label visit(XMLDotDotExpression nd, Context c) {
20612063
20622064 @ Override
20632065 public Label visit (AssignmentPattern nd , Context c ) {
2064- additionalErrors .add (new ParseError ("Unexpected assignment pattern." , nd .getLoc ().getStart ()));
2066+ additionalErrors .add (
2067+ new ParseError ("Unexpected assignment pattern." , nd .getLoc ().getStart ()));
20652068 return super .visit (nd , c );
20662069 }
20672070 }
20682071
2069- public List <ParseError > extract (Node root , Platform platform , SourceType sourceType , int toplevelKind ) {
2072+ public List <ParseError > extract (
2073+ Node root , Platform platform , SourceType sourceType , int toplevelKind ) {
20702074 lexicalExtractor .getMetrics ().startPhase (ExtractionPhase .ASTExtractor_extract );
20712075 trapwriter .addTuple ("toplevels" , toplevelLabel , toplevelKind );
20722076 locationManager .emitNodeLocation (root , toplevelLabel );
0 commit comments