type github.com/evanw/esbuild/internal/js_ast.Binding
61 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L299: Value Binding
js_ast.go#L305: Binding Binding
js_ast.go#L343: Binding Binding
js_ast.go#L347: type Binding struct {
js_ast.go#L1077: Binding *Binding
js_ast.go#L1226: Binding Binding
github.com/evanw/esbuild/internal/bundler
linker.go#L1468: Binding: js_ast.Binding{Loc: value.Loc, Data: &js_ast.BIdentifier{Ref: ref}},
linker.go#L1609: Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: tempRef}},
linker.go#L1687: Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: repr.ast.ExportsRef}},
linker.go#L3039: Binding: js_ast.Binding{Loc: loc, Data: &js_ast.BIdentifier{Ref: namespaceRef}},
linker.go#L3212: {Binding: js_ast.Binding{Loc: s.DefaultName.Loc, Data: &js_ast.BIdentifier{Ref: s.DefaultName.Ref}}, Value: s.Value.Expr},
linker.go#L3398: args = append(args, js_ast.Arg{Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: repr.ast.ExportsRef}}})
linker.go#L3400: args = append(args, js_ast.Arg{Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: repr.ast.ModuleRef}}})
linker.go#L3421: Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: repr.ast.WrapperRef}},
linker.go#L4350: func preventBindingsFromBeingRenamed(binding js_ast.Binding, symbols js_ast.SymbolMap) {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1465: func (p *parser) declareBinding(kind js_ast.SymbolKind, binding js_ast.Binding, opts parseStmtOpts) {
js_parser.go#L2075: value := js_ast.Binding{Loc: p.lexer.Loc(), Data: &js_ast.BIdentifier{Ref: p.storeNameInRef(p.lexer.Identifier)}}
js_parser.go#L2112: value := js_ast.Binding{Loc: loc, Data: &js_ast.BIdentifier{Ref: ref}}
js_parser.go#L2200: arg := js_ast.Arg{Binding: js_ast.Binding{Loc: asyncRange.Loc, Data: &js_ast.BIdentifier{Ref: p.storeNameInRef("async")}}}
js_parser.go#L2211: arg := js_ast.Arg{Binding: js_ast.Binding{Loc: p.lexer.Loc(), Data: &js_ast.BIdentifier{Ref: ref}}}
js_parser.go#L2459: func (p *parser) convertExprToBindingAndInitializer(expr js_ast.Expr, invalidLog []logger.Loc, isSpread bool) (js_ast.Binding, *js_ast.Expr, []logger.Loc) {
js_parser.go#L2481: func (p *parser) convertExprToBinding(expr js_ast.Expr, invalidLog []logger.Loc) (js_ast.Binding, []logger.Loc) {
js_parser.go#L2484: return js_ast.Binding{Loc: expr.Loc, Data: &js_ast.BMissing{}}, invalidLog
js_parser.go#L2487: return js_ast.Binding{Loc: expr.Loc, Data: &js_ast.BIdentifier{Ref: e.Ref}}, invalidLog
js_parser.go#L2511: return js_ast.Binding{Loc: expr.Loc, Data: &js_ast.BArray{
js_parser.go#L2544: return js_ast.Binding{Loc: expr.Loc, Data: &js_ast.BObject{
js_parser.go#L2551: return js_ast.Binding{}, invalidLog
js_parser.go#L2555: func (p *parser) convertBindingToExpr(binding js_ast.Binding, wrapIdentifier func(logger.Loc, js_ast.Ref) js_ast.Expr) js_ast.Expr {
js_parser.go#L2733: arg := js_ast.Arg{Binding: js_ast.Binding{Loc: loc, Data: &js_ast.BIdentifier{Ref: ref}}}
js_parser.go#L4462: func (p *parser) parseBinding() js_ast.Binding {
js_parser.go#L4473: return js_ast.Binding{Loc: loc, Data: &js_ast.BIdentifier{Ref: ref}}
js_parser.go#L4488: binding := js_ast.Binding{Loc: p.lexer.Loc(), Data: &js_ast.BMissing{}}
js_parser.go#L4537: return js_ast.Binding{Loc: loc, Data: &js_ast.BArray{
js_parser.go#L4581: return js_ast.Binding{Loc: loc, Data: &js_ast.BObject{
js_parser.go#L4588: return js_ast.Binding{}
js_parser.go#L5552: var binding *js_ast.Binding
js_parser.go#L5560: binding = &js_ast.Binding{Loc: p.lexer.Loc(), Data: &js_ast.BIdentifier{Ref: ref}}
js_parser.go#L6118: func extractDeclsForBinding(binding js_ast.Binding, decls []js_ast.Decl) []js_ast.Decl {
js_parser.go#L6382: func findIdentifiers(binding js_ast.Binding, identifiers []js_ast.Decl) []js_ast.Decl {
js_parser.go#L6506: decls = append(decls, js_ast.Decl{Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: temp.ref}}, Value: temp.value})
js_parser.go#L6580: letDecls = append(letDecls, js_ast.Decl{Binding: js_ast.Binding{
js_parser.go#L6587: Binding: js_ast.Binding{Loc: s.Fn.Name.Loc, Data: &js_ast.BIdentifier{Ref: hoistedRef}},
js_parser.go#L7468: func (p *parser) visitBinding(binding js_ast.Binding, opts bindingOpts) {
js_parser.go#L8773: func (p *parser) markExportedBindingInsideNamespace(nsRef js_ast.Ref, binding js_ast.Binding) {
js_parser.go#L8925: Args: []js_ast.Arg{{Binding: js_ast.Binding{Loc: loc, Data: &js_ast.BIdentifier{Ref: tempRef}}}},
js_parser.go#L11676: func (p *parser) recordExportedBinding(binding js_ast.Binding) {
js_parser.go#L12122: Binding: js_ast.Binding{Loc: local.Loc, Data: &js_ast.BIdentifier{Ref: local.Ref}},
js_parser.go#L12233: func (p *parser) bindingCanBeRemovedIfUnused(binding js_ast.Binding) bool {
js_parser.go#L12746: Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: p.importMetaRef}},
js_parser_lower.go#L367: *args = append(*args, js_ast.Arg{Binding: js_ast.Binding{Loc: arg.Binding.Loc, Data: &js_ast.BIdentifier{Ref: argRef}}})
js_parser_lower.go#L392: *args = append(*args, js_ast.Arg{Binding: js_ast.Binding{Loc: bodyLoc, Data: &js_ast.BIdentifier{Ref: argRef}}})
js_parser_lower.go#L425: Binding: js_ast.Binding{Loc: bodyLoc, Data: &js_ast.BIdentifier{Ref: *p.fnOrArrowDataVisit.superIndexRef}},
js_parser_lower.go#L428: Binding: js_ast.Binding{Loc: bodyLoc, Data: &js_ast.BIdentifier{Ref: argRef}},
js_parser_lower.go#L1073: func bindingHasObjectRest(binding js_ast.Binding) bool {
js_parser_lower.go#L2162: Binding: js_ast.Binding{Loc: name.Loc, Data: &js_ast.BIdentifier{Ref: captureRef}},
js_parser_lower.go#L2184: Binding: js_ast.Binding{Loc: name.Loc, Data: &js_ast.BIdentifier{Ref: nameRef}},
ts_parser.go#L868: Binding: js_ast.Binding{Loc: defaultNameLoc, Data: &js_ast.BIdentifier{Ref: ref}},
ts_parser.go#L993: Decls: []js_ast.Decl{{Binding: js_ast.Binding{Loc: nameLoc, Data: &js_ast.BIdentifier{Ref: nameRef}}}},
ts_parser.go#L1000: Decls: []js_ast.Decl{{Binding: js_ast.Binding{Loc: nameLoc, Data: &js_ast.BIdentifier{Ref: nameRef}}}},
ts_parser.go#L1048: Args: []js_ast.Arg{{Binding: js_ast.Binding{Loc: nameLoc, Data: &js_ast.BIdentifier{Ref: argRef}}}},
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L814: func (p *printer) printBinding(binding js_ast.Binding) {
 |
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. |