github.com/evanw/esbuild/internal/js_lexer.Lexer.HasNewlineBefore (field)
70 uses
github.com/evanw/esbuild/internal/js_lexer (current package)
js_lexer.go#L227: HasNewlineBefore bool
js_lexer.go#L419: if lexer.Token == TSemicolon || (!lexer.HasNewlineBefore &&
js_lexer.go#L694: lexer.HasNewlineBefore = false
js_lexer.go#L750: lexer.HasNewlineBefore = true
js_lexer.go#L776: lexer.HasNewlineBefore = false
js_lexer.go#L788: lexer.HasNewlineBefore = true
js_lexer.go#L852: lexer.HasNewlineBefore = true
js_lexer.go#L958: lexer.HasNewlineBefore = lexer.end == 0
js_lexer.go#L1010: lexer.HasNewlineBefore = true
js_lexer.go#L1178: if lexer.codePoint == '>' && lexer.HasNewlineBefore {
js_lexer.go#L1270: lexer.HasNewlineBefore = true
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1815: if !opts.isAsync && raw == name && !p.lexer.HasNewlineBefore {
js_parser.go#L2151: if p.lexer.HasNewlineBefore {
js_parser.go#L2189: if !p.lexer.HasNewlineBefore && p.lexer.Token == js_lexer.TFunction {
js_parser.go#L2196: if !p.lexer.HasNewlineBefore && level < js_ast.LMember {
js_parser.go#L2719: } else if !p.lexer.HasNewlineBefore {
js_parser.go#L2936: if p.lexer.Token == js_lexer.TExclamation && !p.lexer.HasNewlineBefore {
js_parser.go#L2954: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L2992: if p.lexer.HasNewlineBefore {
js_parser.go#L2996: if p.lexer.HasNewlineBefore {
js_parser.go#L3001: if p.lexer.HasNewlineBefore {
js_parser.go#L3025: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L3057: if p.lexer.HasNewlineBefore {
js_parser.go#L3061: if p.lexer.HasNewlineBefore {
js_parser.go#L3066: if p.lexer.HasNewlineBefore {
js_parser.go#L3196: if p.lexer.HasNewlineBefore {
js_parser.go#L3210: if isStar || !p.lexer.HasNewlineBefore {
js_parser.go#L3560: if p.lexer.HasNewlineBefore {
js_parser.go#L3573: if p.lexer.HasNewlineBefore || level >= js_ast.LPostfix {
js_parser.go#L3580: if p.lexer.HasNewlineBefore || level >= js_ast.LPostfix {
js_parser.go#L3938: if p.options.ts.Parse && level < js_ast.LCompare && !p.lexer.HasNewlineBefore && p.lexer.IsContextualKeyword("as") {
js_parser.go#L3979: if opts.lexicalDecl == lexicalDeclAllowAll || !p.lexer.HasNewlineBefore || p.lexer.Token == js_lexer.TOpenBracket {
js_parser.go#L4324: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L4365: if p.lexer.HasNewlineBefore {
js_parser.go#L4369: if p.lexer.HasNewlineBefore {
js_parser.go#L4374: if p.lexer.HasNewlineBefore {
js_parser.go#L4385: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L4437: if p.lexer.HasNewlineBefore {
js_parser.go#L4441: if p.lexer.HasNewlineBefore {
js_parser.go#L4446: if p.lexer.HasNewlineBefore {
js_parser.go#L4478: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L4522: if p.lexer.HasNewlineBefore {
js_parser.go#L4526: if p.lexer.HasNewlineBefore {
js_parser.go#L4533: if p.lexer.HasNewlineBefore {
js_parser.go#L4546: isSingleLine := !p.lexer.HasNewlineBefore
js_parser.go#L4566: if p.lexer.HasNewlineBefore {
js_parser.go#L4570: if p.lexer.HasNewlineBefore {
js_parser.go#L4577: if p.lexer.HasNewlineBefore {
js_parser.go#L4895: if p.lexer.Token != js_lexer.TIdentifier || p.lexer.HasNewlineBefore {
js_parser.go#L5105: if p.lexer.HasNewlineBefore {
js_parser.go#L5120: if p.lexer.HasNewlineBefore {
js_parser.go#L5173: if p.lexer.Token == js_lexer.TFunction && !p.lexer.HasNewlineBefore {
js_parser.go#L5931: !p.lexer.HasNewlineBefore &&
js_parser.go#L5946: if p.lexer.HasNewlineBefore {
js_parser.go#L5977: if p.lexer.Token == js_lexer.TFunction && !p.lexer.HasNewlineBefore {
js_parser.go#L6011: if p.lexer.Token == js_lexer.TIdentifier && !p.lexer.HasNewlineBefore {
json_parser.go#L66: isSingleLine := !p.lexer.HasNewlineBefore
json_parser.go#L71: if p.lexer.HasNewlineBefore {
json_parser.go#L77: if p.lexer.HasNewlineBefore {
json_parser.go#L86: if p.lexer.HasNewlineBefore {
json_parser.go#L97: isSingleLine := !p.lexer.HasNewlineBefore
json_parser.go#L103: if p.lexer.HasNewlineBefore {
json_parser.go#L109: if p.lexer.HasNewlineBefore {
json_parser.go#L138: if p.lexer.HasNewlineBefore {
ts_parser.go#L156: if p.lexer.IsContextualKeyword("is") && !p.lexer.HasNewlineBefore {
ts_parser.go#L322: if p.lexer.HasNewlineBefore {
ts_parser.go#L336: if p.lexer.HasNewlineBefore {
ts_parser.go#L348: if p.lexer.HasNewlineBefore {
ts_parser.go#L363: if p.lexer.HasNewlineBefore || level >= js_ast.LConditional {
ts_parser.go#L470: if !p.lexer.HasNewlineBefore {
![]() |
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. |