package js_parser
import "github.com/evanw/esbuild/internal/js_parser"
Index ¶
- func LazyExportAST(log logger.Log, source logger.Source, options config.Options, expr js_ast.Expr, apiCall string) js_ast.AST
- func Parse(log logger.Log, source logger.Source, options config.Options) (result js_ast.AST, ok bool)
- func ParseGlobalName(log logger.Log, source logger.Source) (result []string, ok bool)
- func ParseJSON(log logger.Log, source logger.Source, options ParseJSONOptions) (result js_ast.Expr, ok bool)
- func ParseSourceMap(log logger.Log, source logger.Source) *sourcemap.SourceMap
- type ParseJSONOptions
Functions ¶
func LazyExportAST ¶
func LazyExportAST(log logger.Log, source logger.Source, options config.Options, expr js_ast.Expr, apiCall string) js_ast.AST
func Parse ¶
func Parse(log logger.Log, source logger.Source, options config.Options) (result js_ast.AST, ok bool)
func ParseGlobalName ¶
func ParseJSON ¶
func ParseJSON(log logger.Log, source logger.Source, options ParseJSONOptions) (result js_ast.Expr, ok bool)
func ParseSourceMap ¶
Specification: https://sourcemaps.info/spec.html
Types ¶
type ParseJSONOptions ¶
Source Files ¶
global_name_parser.go js_parser.go js_parser_lower.go json_parser.go sourcemap_parser.go ts_parser.go
- Version
- v0.8.8
- Published
- Nov 16, 2020
- Platform
- windows/amd64
- Imports
- 15 packages
- Last checked
- 6 hours ago –
Tools for package owners.