github.com/evanw/esbuild/internal/js_parser.parser.markSyntaxFeature (method)
40 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L1627: p.markSyntaxFeature(compat.ArraySpread, errors.arraySpreadFeature)
js_parser.go#L1734: p.markSyntaxFeature(compat.BigInt, p.lexer.Range())
js_parser.go#L1746: p.markSyntaxFeature(compat.ObjectExtensions, p.lexer.Range())
js_parser.go#L1804: p.markSyntaxFeature(compat.ObjectAccessors, nameRange)
js_parser.go#L1810: p.markSyntaxFeature(compat.ObjectAccessors, nameRange)
js_parser.go#L1935: p.markSyntaxFeature(compat.ObjectExtensions, p.lexer.Range())
js_parser.go#L2092: p.markSyntaxFeature(compat.BigInt, p.lexer.Range())
js_parser.go#L2246: p.markSyntaxFeature(compat.Generator, p.lexer.Range())
js_parser.go#L2320: p.markSyntaxFeature(compat.RestArgument, spreadRange)
js_parser.go#L2471: p.markSyntaxFeature(compat.DefaultArgument, equalsRange)
js_parser.go#L2496: p.markSyntaxFeature(compat.Destructuring, p.source.RangeOfOperatorAfter(expr.Loc, "["))
js_parser.go#L2504: p.markSyntaxFeature(compat.NestedRestBinding, p.source.RangeOfOperatorAfter(item.Loc, "["))
js_parser.go#L2524: p.markSyntaxFeature(compat.Destructuring, p.source.RangeOfOperatorAfter(expr.Loc, "{"))
js_parser.go#L2693: p.markSyntaxFeature(compat.TopLevelAwait, nameRange)
js_parser.go#L2808: p.markSyntaxFeature(compat.BigInt, p.lexer.Range())
js_parser.go#L2894: p.markSyntaxFeature(compat.Class, classKeyword)
js_parser.go#L2926: p.markSyntaxFeature(compat.NewTarget, r)
js_parser.go#L2972: p.markSyntaxFeature(compat.ArraySpread, p.lexer.Range())
js_parser.go#L3250: p.markSyntaxFeature(compat.ImportMeta, r)
js_parser.go#L3467: p.markSyntaxFeature(compat.TemplateLiteral, p.lexer.Range())
js_parser.go#L3478: p.markSyntaxFeature(compat.TemplateLiteral, p.lexer.Range())
js_parser.go#L3983: p.markSyntaxFeature(compat.Let, letRange)
js_parser.go#L4010: p.markSyntaxFeature(compat.RestArgument, p.lexer.Range())
js_parser.go#L4476: p.markSyntaxFeature(compat.Destructuring, p.lexer.Range())
js_parser.go#L4497: p.markSyntaxFeature(compat.NestedRestBinding, p.lexer.Range())
js_parser.go#L4544: p.markSyntaxFeature(compat.Destructuring, p.lexer.Range())
js_parser.go#L4593: p.markSyntaxFeature(compat.AsyncGenerator, data.asyncRange)
js_parser.go#L4633: p.markSyntaxFeature(compat.RestArgument, p.lexer.Range())
js_parser.go#L4681: p.markSyntaxFeature(compat.DefaultArgument, p.lexer.Range())
js_parser.go#L4745: p.markSyntaxFeature(compat.Class, classKeyword)
js_parser.go#L4919: p.markSyntaxFeature(compat.Generator, p.lexer.Range())
js_parser.go#L5411: p.markSyntaxFeature(compat.Const, p.lexer.Range())
js_parser.go#L5622: didGenerateError := p.markSyntaxFeature(compat.ForAwait, awaitRange)
js_parser.go#L5625: p.markSyntaxFeature(compat.TopLevelAwait, awaitRange)
js_parser.go#L5655: p.markSyntaxFeature(compat.Const, p.lexer.Range())
js_parser.go#L5690: p.markSyntaxFeature(compat.ForOf, p.lexer.Range())
js_parser.go#L10909: p.markSyntaxFeature(compat.Destructuring, logger.Range{Loc: expr.Loc, Len: 1})
js_parser.go#L10948: p.markSyntaxFeature(compat.Destructuring, logger.Range{Loc: expr.Loc, Len: 1})
js_parser_lower.go#L17: func (p *parser) markSyntaxFeature(feature compat.JSFeature, r logger.Range) (didGenerateError bool) {
js_parser_lower.go#L198: p.markSyntaxFeature(feature, r)
 |
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. |