Documentation
¶
Overview ¶
Package builder defines functions for generating basic node builder functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(token string, interpreter ast.Interpreter) ast.NodeBuilder
All returns with a node builder function for including all nodes for interpretation
func BinaryOperation ¶
func BinaryOperation(interpreter ast.Interpreter) ast.NodeBuilder
BinaryOperation returns with a node builder function for building binary operator nodes
func Flatten ¶
func Flatten(token string, interpreter ast.Interpreter) ast.NodeBuilder
Flatten returns with a node builder function which puts all nodes and their direct children flattened in a new node
func Nil ¶
func Nil() ast.NodeBuilder
Nil returns with a node builder function which always returns with nil
func Select ¶
func Select(i int) ast.NodeBuilder
Select returns with a node builder function which returns with the node at the given index
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.