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

Method consume

src/main/java/org/dynjs/parser/js/Lexer.java:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 protected int consume() {
91 try {
92 ++this.columnNumber;
93 return this.stream.consume();
94 } catch (IOException e) {
95 throw new LexerException(e);
96 }
97 }
98
99 protected Token newToken(TokenType type, String text) {
100 if (!type.isSkippable()) {

Callers 15

nextTokenMethod · 0.95
regexpLiteralMethod · 0.95
singleLineCommentMethod · 0.95
multiLineCommentMethod · 0.95
octalLiteralMethod · 0.95
decimalLiteralMethod · 0.95
hexLiteralMethod · 0.95
stringLiteralMethod · 0.95
unicodeEscapeSequenceMethod · 0.95
hexEscapeSequenceMethod · 0.95
octalEscapeSequenceMethod · 0.95

Calls 1

consumeMethod · 0.65

Tested by

no test coverage detected