Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseError ¶
ParseError records a parser error with source position.
func Parse ¶
func Parse(source string) (*ast.FnAST, []ParseError)
Parse tokenizes source and parses a function definition.
func ParseExpression ¶
func ParseExpression(source string) (ast.ExprNode, []ParseError)
ParseExpression parses a standalone expression (for inline execute).
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Click to show internal directories.
Click to hide internal directories.