MCPcopy Create free account
hub / github.com/mozilla/rhino / consumeToken

Method consumeToken

rhino/src/main/java/org/mozilla/javascript/Parser.java:479–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 }
478
479 private void consumeToken() {
480 currentFlaggedToken = Token.EOF;
481 lastTokenLineno = ts.getTokenStartLineno();
482 lastTokenColumn = ts.getTokenColumn();
483 }
484
485 private int nextToken() throws IOException {
486 int tt = peekToken();

Callers 15

nextTokenMethod · 0.95
matchTokenMethod · 0.95
parseMethod · 0.95
parseFunctionBodyMethod · 0.95
parseFunctionParamsMethod · 0.95
statementMethod · 0.95
statementHelperMethod · 0.95
autoInsertSemicolonMethod · 0.95
ifStatementMethod · 0.95
switchStatementMethod · 0.95
whileLoopMethod · 0.95
doLoopMethod · 0.95

Calls 2

getTokenStartLinenoMethod · 0.80
getTokenColumnMethod · 0.80

Tested by

no test coverage detected