package parser
import "github.com/evanw/esbuild/internal/parser"
Index ¶
- func ModuleExportsAST(log logging.Log, source logging.Source, options config.Options, expr ast.Expr) 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)
- type ParseJSONOptions
Functions ¶
func ModuleExportsAST ¶
func ModuleExportsAST(log logging.Log, source logging.Source, options config.Options, expr ast.Expr) 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)
Types ¶
type ParseJSONOptions ¶
Source Files ¶
parser.go parser_json.go parser_lower.go parser_ts.go
- Version
- v0.5.20
- Published
- Jul 4, 2020
- Platform
- windows/amd64
- Imports
- 11 packages
- Last checked
- 3 minutes ago –
Tools for package owners.