# Functions
FindFunctionCalls walks all nodes and returns a list of name of function calls.
FindReferenceVariables walks all nodes and returns a list of name from reference variables.
True if token type is an operator used in comparisons.
True if token type is an operator used in mathematical or boolean expressions.
True if token type is an operator used in mathematical expressions.
NewTokenType converts string to TokenType.
Parse returns a Node, created by parsing the DSL described in the argument string.
Parse returns a LambdaNode, created by parsing a lambda expression.
Convert raw value to literal node, for all supported basic types.
Walk calls f on all nodes reachable from the root node.
# Constants
NodeTypeOf is used by all Node to identify the node duration Marshal and Unmarshal.
# Structs
binaryNode holds two arguments and an operator.
boolNode holds one argument and an operator.
Hold the contents of a comment.
durationNode holds a number: signed or unsigned integer or float.
Holds the a function call with its args.
Holds the textual representation of an identifier.
Represents the beginning of a lambda expression.
Holds the list of other nodes.
numberNode holds a number: signed or unsigned integer or float.
Holds a function call with its args.
Holds the textual representation of an identifier.
Holds the textual representation of a regex literal.
Represents a standalone '*' token.
Holds the textual representation of a string literal.
unaryNode holds one argument and an operator.