Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4fb6d60

Browse files
committed
renamed "isModule" to "is_module"
1 parent 39ff727 commit 4fb6d60

58 files changed

Lines changed: 64 additions & 57 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

javascript/extractor/src/com/semmle/js/extractor/ASTExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ public Label visit(Program nd, Context c) {
691691
scopeManager.enterScope(3, moduleScopeKey, toplevelLabel);
692692
scopeManager.addVariables(
693693
sourceType.getPredefinedLocals(platform, locationManager.getSourceFileExtension()));
694-
trapwriter.addTuple("isModule", toplevelLabel);
694+
trapwriter.addTuple("is_module", toplevelLabel);
695695
}
696696

697697
// Emit the specific source type.

javascript/extractor/tests/closure/output/trap/googDotDeclareModuleId.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ hasLocation(#20001,#20036)
106106
scopes(#20037,3)
107107
scopenodes(#20001,#20037)
108108
scopenesting(#20037,#20000)
109-
isModule(#20001)
109+
is_module(#20001)
110110
isES2015Module(#20001)
111111
#20038=@"var;{x};{#20037}"
112112
variables(#20038,"x",#20037)

javascript/extractor/tests/closure/output/trap/googDotModule.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ scopenodes(#20001,#20051)
143143
scopenesting(#20051,#20000)
144144
#20052=@"var;{exports};{#20051}"
145145
variables(#20052,"exports",#20051)
146-
isModule(#20001)
146+
is_module(#20001)
147147
isClosureModule(#20001)
148148
#20053=@"var;{x};{#20051}"
149149
variables(#20053,"x",#20051)

javascript/extractor/tests/es2015/output/trap/export1.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ hasLocation(#20001,#20003)
5656
scopes(#20018,3)
5757
scopenodes(#20001,#20018)
5858
scopenesting(#20018,#20000)
59-
isModule(#20001)
59+
is_module(#20001)
6060
isES2015Module(#20001)
6161
#20019=@"var;{x};{#20018}"
6262
variables(#20019,"x",#20018)

javascript/extractor/tests/es2015/output/trap/export10.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ hasLocation(#20001,#20028)
8484
scopes(#20029,3)
8585
scopenodes(#20001,#20029)
8686
scopenesting(#20029,#20000)
87-
isModule(#20001)
87+
is_module(#20001)
8888
isES2015Module(#20001)
8989
#20030=@"var;{f};{#20029}"
9090
variables(#20030,"f",#20029)

javascript/extractor/tests/es2015/output/trap/export11.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ hasLocation(#20001,#20016)
5454
scopes(#20017,3)
5555
scopenodes(#20001,#20017)
5656
scopenesting(#20017,#20000)
57-
isModule(#20001)
57+
is_module(#20001)
5858
isES2015Module(#20001)
5959
#20018=*
6060
stmts(#20018,29,#20001,0,"export ... lass {}")

javascript/extractor/tests/es2015/output/trap/export2.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ hasLocation(#20001,#20003)
6666
scopes(#20022,3)
6767
scopenodes(#20001,#20022)
6868
scopenesting(#20022,#20000)
69-
isModule(#20001)
69+
is_module(#20001)
7070
isES2015Module(#20001)
7171
#20023=@"var;{f};{#20022}"
7272
variables(#20023,"f",#20022)

javascript/extractor/tests/es2015/output/trap/export3.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ hasLocation(#20001,#20003)
7171
scopes(#20024,3)
7272
scopenodes(#20001,#20024)
7373
scopenesting(#20024,#20000)
74-
isModule(#20001)
74+
is_module(#20001)
7575
isES2015Module(#20001)
7676
#20025=@"var;{f};{#20024}"
7777
variables(#20025,"f",#20024)

javascript/extractor/tests/es2015/output/trap/export4.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ hasLocation(#20001,#20003)
6666
scopes(#20022,3)
6767
scopenodes(#20001,#20022)
6868
scopenesting(#20022,#20000)
69-
isModule(#20001)
69+
is_module(#20001)
7070
isES2015Module(#20001)
7171
#20023=*
7272
stmts(#20023,29,#20001,0,"export ... n () {}")

javascript/extractor/tests/es2015/output/trap/export5.js.trap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ hasLocation(#20001,#20044)
124124
scopes(#20045,3)
125125
scopenodes(#20001,#20045)
126126
scopenesting(#20045,#20000)
127-
isModule(#20001)
127+
is_module(#20001)
128128
isES2015Module(#20001)
129129
#20046=@"var;{x};{#20045}"
130130
variables(#20046,"x",#20045)

0 commit comments

Comments
 (0)