type github.com/evanw/esbuild/internal/logger.Source
68 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L197: type Source struct {
logger.go#L230: func (s *Source) TextForRange(r Range) string {
logger.go#L234: func (s *Source) RangeOfOperatorBefore(loc Loc, op string) Range {
logger.go#L243: func (s *Source) RangeOfOperatorAfter(loc Loc, op string) Range {
logger.go#L252: func (s *Source) RangeOfString(loc Loc) Range {
logger.go#L274: func (s *Source) RangeOfNumber(loc Loc) (r Range) {
logger.go#L293: func (s *Source) RangeOfLegacyOctalEscape(loc Loc) (r Range) {
logger.go#L1029: func LocationOrNil(source *Source, r Range) *MsgLocation {
logger.go#L1229: func (log Log) AddError(source *Source, loc Loc, text string) {
logger.go#L1236: func (log Log) AddErrorWithNotes(source *Source, loc Loc, text string, notes []MsgData) {
logger.go#L1244: func (log Log) AddWarning(source *Source, loc Loc, text string) {
logger.go#L1251: func (log Log) AddRangeError(source *Source, r Range, text string) {
logger.go#L1258: func (log Log) AddRangeWarning(source *Source, r Range, text string) {
logger.go#L1265: func (log Log) AddRangeErrorWithNotes(source *Source, r Range, text string, notes []MsgData) {
logger.go#L1273: func (log Log) AddRangeWarningWithNotes(source *Source, r Range, text string, notes []MsgData) {
logger.go#L1281: func RangeData(source *Source, r Range, text string) MsgData {
github.com/evanw/esbuild/internal/bundler
bundler.go#L36: source logger.Source
bundler.go#L136: importSource *logger.Source
bundler.go#L155: source := logger.Source{
bundler.go#L487: result.file.sourceMap = js_parser.ParseSourceMap(args.log, logger.Source{
bundler.go#L523: source *logger.Source,
bundler.go#L575: importSource *logger.Source,
bundler.go#L630: importSource *logger.Source,
bundler.go#L736: source *logger.Source,
bundler.go#L737: importSource *logger.Source,
bundler.go#L937: importSource *logger.Source,
bundler.go#L1058: source := logger.Source{
bundler.go#L1388: source := logger.Source{
bundler.go#L1820: func (cache *runtimeCache) parseRuntime(options *config.Options) (source logger.Source, runtimeAST js_ast.AST, ok bool) {
linker.go#L585: func (c *linkerContext) addRangeError(source logger.Source, r logger.Range, text string) {
linker.go#L590: func (c *linkerContext) addRangeErrorWithNotes(source logger.Source, r logger.Range, text string, notes []logger.MsgData) {
github.com/evanw/esbuild/internal/cache
cache_ast.go#L35: source logger.Source
cache_ast.go#L41: func (c *CSSCache) Parse(log logger.Log, source logger.Source, options css_parser.Options) css_ast.AST {
cache_ast.go#L89: source logger.Source
cache_ast.go#L96: func (c *JSONCache) Parse(log logger.Log, source logger.Source, options js_parser.JSONOptions) (js_ast.Expr, bool) {
cache_ast.go#L145: source logger.Source
cache_ast.go#L152: func (c *JSCache) Parse(log logger.Log, source logger.Source, options js_parser.Options) (js_ast.AST, bool) {
github.com/evanw/esbuild/internal/config
config.go#L334: Source logger.Source
github.com/evanw/esbuild/internal/css_lexer
css_lexer.go#L150: source logger.Source
css_lexer.go#L156: func Tokenize(log logger.Log, source logger.Source) (tokens []Token) {
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L19: source logger.Source
css_parser.go#L35: func Parse(log logger.Log, source logger.Source, options Options) css_ast.AST {
github.com/evanw/esbuild/internal/js_lexer
js_lexer.go#L220: source logger.Source
js_lexer.go#L251: func NewLexer(log logger.Log, source logger.Source) Lexer {
js_lexer.go#L262: func NewLexerGlobalName(log logger.Log, source logger.Source) Lexer {
js_lexer.go#L274: func NewLexerJSON(log logger.Log, source logger.Source, allowComments bool) Lexer {
js_lexer.go#L641: func RangeOfIdentifier(source logger.Source, loc logger.Loc) logger.Range {
github.com/evanw/esbuild/internal/js_parser
global_name_parser.go#L8: func ParseGlobalName(log logger.Log, source logger.Source) (result []string, ok bool) {
js_parser.go#L37: source logger.Source
js_parser.go#L12622: func newParser(log logger.Log, source logger.Source, lexer js_lexer.Lexer, options *Options) *parser {
js_parser.go#L12676: func Parse(log logger.Log, source logger.Source, options Options) (result js_ast.AST, ok bool) {
js_parser.go#L12826: func LazyExportAST(log logger.Log, source logger.Source, options Options, expr js_ast.Expr, apiCall string) js_ast.AST {
js_parser.go#L13039: func (p *parser) toAST(source logger.Source, parts []js_ast.Part, hashbang string, directive string) js_ast.AST {
json_parser.go#L13: source logger.Source
json_parser.go#L158: func ParseJSON(log logger.Log, source logger.Source, options JSONOptions) (result js_ast.Expr, ok bool) {
sourcemap_parser.go#L14: func ParseSourceMap(log logger.Log, source logger.Source) *sourcemap.SourceMap {
github.com/evanw/esbuild/internal/resolver
resolver.go#L81: Source *logger.Source
resolver.go#L689: source := logger.Source{
resolver.go#L905: jsonSource := logger.Source{
tsconfig_json.go#L41: source logger.Source,
tsconfig_json.go#L177: func parseMemberExpressionForJSX(log logger.Log, source logger.Source, loc logger.Loc, text string) []string {
tsconfig_json.go#L192: func isValidTSConfigPathPattern(text string, log logger.Log, source logger.Source, loc logger.Loc) bool {
tsconfig_json.go#L212: func isValidTSConfigPathNoBaseURLPattern(text string, log logger.Log, source logger.Source, loc logger.Loc) bool {
github.com/evanw/esbuild/internal/runtime
runtime.go#L215: var ES6Source = logger.Source{
runtime.go#L223: var ES5Source = logger.Source{
github.com/evanw/esbuild/pkg/api
api_impl.go#L297: source := logger.Source{
api_impl.go#L416: source := logger.Source{Contents: value}
api_impl.go#L1049: source := logger.Source{
 |
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. |