MCPcopy
hub / github.com/jquery/esprima / eof

Method eof

src/scanner.ts:96–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 public eof(): boolean {
97 return this.index >= this.length;
98 }
99
100 public throwUnexpectedToken(message = Messages.UnexpectedTokenIllegal): never {
101 return this.errorHandler.throwError(this.index, this.lineNumber,

Callers 15

skipSingleLineCommentMethod · 0.95
skipMultiLineCommentMethod · 0.95
scanCommentsMethod · 0.95
scanHexEscapeMethod · 0.95
getIdentifierMethod · 0.95
getComplexIdentifierMethod · 0.95
octalToDecimalMethod · 0.95
scanHexLiteralMethod · 0.95
scanBinaryLiteralMethod · 0.95
scanOctalLiteralMethod · 0.95
scanStringLiteralMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected