package parser
import "github.com/evanw/esbuild/internal/parser"
Index ¶
- func LazyExportAST(log logging.Log, source logging.Source, options config.Options, expr ast.Expr, apiCall string) ast.AST
- func Parse(log logging.Log, source logging.Source, options config.Options) (result ast.AST, ok bool)
- func ParseJSON(log logging.Log, source logging.Source, options ParseJSONOptions) (result ast.Expr, ok bool)
- func ParseSourceMap(log logging.Log, source logging.Source) *sourcemap.SourceMap
- type ParseJSONOptions
Functions ¶
func LazyExportAST ¶
func LazyExportAST(log logging.Log, source logging.Source, options config.Options, expr ast.Expr, apiCall string) ast.AST
func Parse ¶
func Parse(log logging.Log, source logging.Source, options config.Options) (result ast.AST, ok bool)
func ParseJSON ¶
func ParseJSON(log logging.Log, source logging.Source, options ParseJSONOptions) (result ast.Expr, ok bool)
func ParseSourceMap ¶
Specification: https://sourcemaps.info/spec.html
Types ¶
type ParseJSONOptions ¶
Source Files ¶
parser.go parser_json.go parser_lower.go parser_sourcemap.go parser_ts.go
- Version
- v0.6.7
- Published
- Jul 25, 2020
- Platform
- windows/amd64
- Imports
- 13 packages
- Last checked
- 3 hours ago –
Tools for package owners.