MCPcopy Create free account
hub / github.com/microsoft/typescript-go / getParser

Function getParser

internal/parser/parser.go:128–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func getParser() *Parser {
129 return parserPool.Get().(*Parser)
130}
131
132func putParser(p *Parser) {
133 *p = Parser{scanner: p.scanner, setParentFromContext: p.setParentFromContext}

Callers 3

ParseSourceFileFunction · 0.85
ParseIsolatedEntityNameFunction · 0.85
parseJSDocForNodeFunction · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected