github.com/evanw/esbuild/internal/js_parser.parser.addImportRecord (method)
8 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L5291: importRecordIndex := p.addImportRecord(ast.ImportStmt, pathLoc, pathText)
js_parser.go#L5309: importRecordIndex := p.addImportRecord(ast.ImportStmt, pathLoc, pathText)
js_parser.go#L5875: stmt.ImportRecordIndex = p.addImportRecord(ast.ImportStmt, pathLoc, pathText)
js_parser.go#L6142: func (p *parser) addImportRecord(kind ast.ImportKind, loc logger.Loc, text string) uint32 {
js_parser.go#L11100: importRecordIndex := p.addImportRecord(ast.ImportDynamic, arg.Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L11231: importRecordIndex := p.addImportRecord(ast.ImportRequireResolve, e.Args[0].Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L11351: importRecordIndex := p.addImportRecord(ast.ImportRequire, arg.Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L13010: importRecordIndex := p.addImportRecord(ast.ImportStmt, logger.Loc{}, path)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |