github.com/evanw/esbuild/internal/js_parser.parser.declareSymbol (method)

17 uses

	github.com/evanw/esbuild/internal/js_parser (current package)
		js_parser.go#L1295: func (p *parser) declareSymbol(kind js_ast.SymbolKind, loc logger.Loc, name string) js_ast.Ref {
		js_parser.go#L1472: 			b.Ref = p.declareSymbol(kind, binding.Loc, name)
		js_parser.go#L1917: 			private.Ref = p.declareSymbol(declare, key.Loc, name)
		js_parser.go#L2035: 			private.Ref = p.declareSymbol(declare, key.Loc, name)
		js_parser.go#L2261: 			name.Ref = p.declareSymbol(js_ast.SymbolHoistedFunction, name.Loc, text)
		js_parser.go#L4717: 		fn.ArgumentsRef = p.declareSymbol(js_ast.SymbolArguments, fn.OpenParenLoc, "arguments")
		js_parser.go#L4762: 			name.Ref = p.declareSymbol(js_ast.SymbolClass, nameLoc, nameText)
		js_parser.go#L4996: 		name.Ref = p.declareSymbol(kind, name.Loc, nameText)
		js_parser.go#L5881: 			stmt.NamespaceRef = p.declareSymbol(js_ast.SymbolImport, *stmt.StarNameLoc, name)
		js_parser.go#L5893: 			ref := p.declareSymbol(js_ast.SymbolImport, stmt.DefaultName.Loc, name)
		js_parser.go#L5902: 				ref := p.declareSymbol(js_ast.SymbolImport, item.Name.Loc, name)
		ts_parser.go#L775: 		name.Ref = p.declareSymbol(js_ast.SymbolTSEnum, nameLoc, nameText)
		ts_parser.go#L777: 		argRef = p.declareSymbol(js_ast.SymbolHoisted, nameLoc, nameText)
		ts_parser.go#L801: 			value.Ref = p.declareSymbol(js_ast.SymbolOther, value.Loc, js_lexer.UTF16ToString(value.Name))
		ts_parser.go#L866: 	ref := p.declareSymbol(js_ast.SymbolConst, defaultNameLoc, defaultName)
		ts_parser.go#L958: 			argRef = p.declareSymbol(js_ast.SymbolHoisted, nameLoc, nameText)
		ts_parser.go#L964: 		name.Ref = p.declareSymbol(js_ast.SymbolTSNamespace, nameLoc, nameText)