github.com/evanw/esbuild/internal/config.TSOptions.Parse (field)
67 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L24: Parse bool
github.com/evanw/esbuild/internal/bundler
bundler.go#L235: args.options.TS.Parse = true
bundler.go#L241: args.options.TS.Parse = true
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1194: if p.options.ts.Parse {
js_parser.go#L1236: if p.options.ts.Parse && existing == js_ast.SymbolImport {
js_parser.go#L1504: if p.options.ts.Parse {
js_parser.go#L1752: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon && wasIdentifier && opts.isClass {
js_parser.go#L1830: if opts.isClass && p.options.ts.Parse && raw == name {
js_parser.go#L1868: if p.options.ts.Parse {
js_parser.go#L1894: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon {
js_parser.go#L1972: allowMissingBodyForTypeScript: p.options.ts.Parse && opts.isClass,
js_parser.go#L2230: if p.options.ts.Parse && p.trySkipTypeScriptTypeParametersThenOpenParenWithBacktracking() {
js_parser.go#L2269: if p.options.ts.Parse {
js_parser.go#L2335: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon {
js_parser.go#L2342: if p.options.ts.Parse && p.lexer.Token == js_lexer.TEquals && p.lexer.Loc() != p.forbidSuffixAfterAsLoc {
js_parser.go#L2372: if p.lexer.Token == js_lexer.TEqualsGreaterThan || opts.forceArrowFn || (p.options.ts.Parse && p.lexer.Token == js_lexer.TColon) {
js_parser.go#L2907: if p.options.ts.Parse {
js_parser.go#L2934: if p.options.ts.Parse {
js_parser.go#L3122: if p.options.ts.Parse && p.options.jsx.Parse {
js_parser.go#L3161: if p.options.ts.Parse {
js_parser.go#L3416: if !p.options.ts.Parse {
js_parser.go#L3537: if p.options.ts.Parse && left.Loc == p.latestArrowArgLoc && (p.lexer.Token == js_lexer.TColon ||
js_parser.go#L3563: if !p.options.ts.Parse {
js_parser.go#L3709: if p.options.ts.Parse && p.trySkipTypeScriptTypeArgumentsWithBacktracking() {
js_parser.go#L3938: if p.options.ts.Parse && level < js_ast.LCompare && !p.lexer.HasNewlineBefore && p.lexer.IsContextualKeyword("as") {
js_parser.go#L4081: if p.options.ts.Parse {
js_parser.go#L4171: if p.lexer.Token == js_lexer.TDotDotDot && p.options.ts.Parse {
js_parser.go#L4261: if p.options.ts.Parse {
js_parser.go#L4614: if p.options.ts.Parse && p.lexer.Token == js_lexer.TThis {
js_parser.go#L4643: if p.options.ts.Parse {
js_parser.go#L4725: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon {
js_parser.go#L4767: if p.options.ts.Parse {
js_parser.go#L4811: if p.options.ts.Parse {
js_parser.go#L4816: if p.options.ts.Parse && p.lexer.IsContextualKeyword("implements") {
js_parser.go#L4948: if p.options.ts.Parse {
js_parser.go#L4968: allowMissingBodyForTypeScript: p.options.ts.Parse,
js_parser.go#L5071: if p.options.ts.Parse && (opts.isModuleScope || opts.isNamespaceScope) {
js_parser.go#L5080: if !p.options.ts.Parse {
js_parser.go#L5114: if p.options.ts.Parse {
js_parser.go#L5237: if p.options.ts.Parse && isIdentifier && name == "abstract" {
js_parser.go#L5326: if p.options.ts.Parse {
js_parser.go#L5345: if !p.options.ts.Parse {
js_parser.go#L5352: if p.options.ts.Parse {
js_parser.go#L5414: if p.options.ts.Parse && p.lexer.Token == js_lexer.TEnum {
js_parser.go#L5567: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon {
js_parser.go#L5803: if p.options.ts.Parse {
js_parser.go#L6008: if p.options.ts.Parse {
js_parser.go#L6201: if p.options.ts.Parse {
js_parser.go#L7989: if !p.options.ts.Parse {
js_parser.go#L8066: if p.options.ts.Parse {
js_parser.go#L9451: if p.options.ts.Parse && optionalChain == js_ast.OptionalChainNone {
js_parser.go#L11489: if p.options.ts.Parse {
js_parser.go#L11579: if p.options.ts.Parse {
js_parser.go#L11766: keepUnusedImports := p.options.ts.Parse && p.options.preserveUnusedImportsTS &&
js_parser.go#L11772: if (p.options.mangleSyntax || p.options.ts.Parse) && !keepUnusedImports {
js_parser.go#L11782: if p.options.ts.Parse && p.tsUseCounts[s.DefaultName.Ref.InnerIndex] != 0 {
js_parser.go#L11798: if p.options.ts.Parse && p.tsUseCounts[s.NamespaceRef.InnerIndex] != 0 {
js_parser.go#L11821: if p.options.ts.Parse && p.tsUseCounts[item.Name.Ref.InnerIndex] != 0 {
js_parser.go#L11853: if p.options.ts.Parse && foundImports && isUnusedInTypeScript && !p.options.preserveUnusedImportsTS {
js_parser.go#L12696: if !options.ts.Parse {
js_parser_lower.go#L1667: if p.options.ts.Parse && prop.IsMethod {
js_parser_lower.go#L1698: shouldOmitFieldInitializer := p.options.ts.Parse && !prop.IsMethod && prop.Initializer == nil &&
js_parser_lower.go#L1715: if prop.IsComputed && (p.options.ts.Parse || len(prop.TSDecorators) > 0 ||
js_parser_lower.go#L1744: if p.options.ts.Parse {
js_parser_lower.go#L1796: if !prop.IsMethod && (mustLowerField || (p.options.ts.Parse && !p.options.useDefineForClassFields && (!prop.IsStatic || private == nil))) {
js_parser_lower.go#L1968: if p.options.ts.Parse {
ts_parser.go#L749: if p.options.ts.Parse {
![]() |
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. |