MCPcopy Create free account
hub / github.com/dynjs/dynjs / variableDeclarationList

Method variableDeclarationList

src/main/java/org/dynjs/parser/js/Parser.java:1268–1279  ·  view source on GitHub ↗
(boolean noIn)

Source from the content-addressed store, hash-verified

1266 }
1267
1268 protected List<VariableDeclaration> variableDeclarationList(boolean noIn) {
1269 List<VariableDeclaration> decls = new ArrayList<>();
1270
1271 decls.add(variableDeclaration(noIn));
1272
1273 while (la() == COMMA) {
1274 consume(COMMA);
1275 decls.add(variableDeclaration(noIn));
1276 }
1277
1278 return decls;
1279 }
1280
1281 public VariableDeclaration variableDeclaration(boolean noIn) {
1282 Token identifier = consume(IDENTIFIER);

Callers 2

variableStatementMethod · 0.95
forStatementMethod · 0.95

Calls 4

variableDeclarationMethod · 0.95
laMethod · 0.95
consumeMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected