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

Method getTokenRaw

src/parser.ts:291–293  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

289 // From internal representation to an external structure
290
291 getTokenRaw(token): string {
292 return this.scanner.source.slice(token.start, token.end);
293 }
294
295 convertToken(token: RawToken): TokenEntry {
296 const t: TokenEntry = {

Callers 7

convertTokenMethod · 0.95
parseDirectiveMethod · 0.95
parseModuleSpecifierMethod · 0.95
parseJSXChildrenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected