# Functions
Clone duplicates an existing sql.Expression, returning new nodes with the same structure and internal values.
Expr applies a transformation function to the given expression tree from the bottom up.
ExpressionToColumn converts the expression to the form that should be used in a Schema.
Exprs applies a transformation function to the given set of expressions and returns the result.
ExprWithNode applies a transformation function to the given expression from the bottom up.
Inspect traverses the plan in depth-first order: It starts by calling f(node); node must not be nil.
InspectExpr traverses the given expression tree from the bottom up, breaking if stop = true.
InspectExpressions traverses the plan and calls sql.Inspect on any expression it finds.
InspectExpressionsWithNode traverses the plan and calls sql.Inspect on any expression it finds.
InspectUp traverses the given node tree from the bottom up, breaking if stop = true.
Node applies a transformation function to the given tree from the bottom up.
NodeChildren applies a transformation function to the given node's children.
NodeExprs applies a transformation function to all expressions on the given plan tree from the bottom up.
NodeExprsWithNode applies a transformation function to all expressions on the given tree from the bottom up.
NodeExprsWithNodeWithOpaque applies a transformation function to all expressions on the given tree from the bottom up, including through opaque nodes.
NodeExprsWithOpaque applies a transformation function to all expressions on the given plan tree from the bottom up, including through opaque nodes.
NodeWithCtx transforms |n| from the bottom up, left to right, by passing each node to |f|.
NodeWithOpaque applies a transformation function to the given tree from the bottom up, including through opaque nodes.
NodeWithPrefixSchema transforms |n| from the bottom up, left to right, by passing each node to |f|.
OneNodeExpressions applies a transformation function to all expressions on the specified node.
OneNodeExprsWithNode applies a transformation function to all expressions on the specified node.
SchemaWithDefaults returns a copy of the schema given with the defaults provided.
Walk traverses the plan tree in depth-first order.
WalkExpressions traverses the plan and calls sql.Walk on any expression it finds.
WalkExpressionsWithNode traverses the plan and calls sql.WalkWithNode on any expression it finds.
WrappedColumnDefaults returns the column defaults for the schema given, wrapped with expression.Wrapper.
# Structs
Context provides additional metadata to a SelectorFunc about the active node in a traversal, including the parent node, and a partial prefix schema of sibling nodes in a level order traversal.
# Interfaces
Visitor visits nodes in the plan.
# Type aliases
CtxFunc is a function which will return new sql.Node values for a given Context.
ExprFunc is a function that given an expression will return that expression as is or transformed, a TreeIdentity to indicate whether the expression was modified, and an error or nil.
ExprWithNodeFunc is a function that given an expression and the node that contains it, will return that expression as is or transformed along with an error, if any.
NodeFunc is a function that given a node will return that node as is or transformed, a TreeIdentity to indicate whether the node was modified, and an error or nil.
SelectorFunc is a function which will allow NodeWithCtx to not traverse past a certain Context.
TreeIdentity tracks modifications to node and expression trees.