# Functions
NewArrayExpr returns a ArrayExpr.
NewBinaryExpr returns a BinaryExpr.
NewBlockNode returns a BlockNode.
NewBodyNode returns a BodyNode.
NewBoolExpr returns a BoolExpr.
NewCommentNode returns a CommentNode.
NewDoNode returns a DoNode.
NewEmbedNode returns a EmbedNode.
NewExtendsNode returns a ExtendsNode.
NewFilterExpr returns a FilterExpr.
NewFilterNode creates a FilterNode.
NewForNode returns a ForNode.
NewFromNode returns a FromNode.
NewFuncExpr returns a FuncExpr.
NewGetAttrExpr returns a GetAttrExpr.
NewGroupExpr returns a GroupExpr.
NewHashExpr returns a HashExpr.
NewIfNode returns a IfNode.
NewImportNode returns a ImportNode.
NewIncludeNode returns a IncludeNode.
NewKeyValueExpr returns a KeyValueExpr.
NewMacroNode returns a MacroNode.
NewModuleNode returns a ModuleNode.
NewNamedTree is an alternative constructor which creates a Tree with a name.
NewNameExpr returns a NameExpr.
NewNullExpr returns a NullExpr.
NewNumberExpr returns a NumberExpr.
NewPrintNode returns a PrintNode.
NewSetNode returns a SetNode.
NewStringExpr returns a StringExpr.
NewTernaryIfExpr returns a TernaryIfExpr.
NewTestExpr returns a TestExpr.
NewTextNode returns a TextNode.
NewTree creates a new parser Tree, ready for use.
NewUnaryExpr returns a new UnaryExpr.
NewUseNode returns a UseNode.
Parse parses the given input.
# Constants
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
Built-in operators.
# Structs
No description provided by the author
BinaryExpr represents a binary operation, such as "x + y".
BlockNode represents a block statement.
BodyNode represents a list of nodes.
BoolExpr represents a boolean literal.
CommentNode represents a comment.
DoNode simply executes the expression it contains.
EmbedNode is a special include statement.
ExtendsNode represents an extends statement.
FilterExpr represents a filter application.
FilterNode represents a block of filtered data.
ForNode represents a for loop construct.
FromNode represents an alternative form of importing macros.
FuncExpr represents a function call.
GetAttrExpr represents an attempt to retrieve an attribute from a value.
GroupExpr represents an arbitrary wrapper around an inner expression.
No description provided by the author
IfNode represents an if statement.
ImportNode represents importing macros from another template.
IncludeNode is an include statement.
No description provided by the author
MacroNode represents a reusable macro.
ModuleNode represents a root node in the AST.
MultipleExtendsError describes an attempt to extend from multiple parent templates.
NameExpr represents an identifier, such as a variable.
NullExpr represents a null literal.
NumberExpr represents a number literal.
Pos is used to track line and offset in a given string.
PrintNode represents a print statement.
SetNode is a set operation on the given varName.
StringExpr represents a string literal.
TernaryIfExpr represents an attempt to retrieve an attribute from a value.
TestExpr represents a boolean test expression.
TextNode represents raw, non Stick source code, like plain HTML.
Tree represents the state of a parser.
A TrimmableNode contains information on whether preceding or trailing whitespace should be removed when executing the template.
UnaryExpr represents a unary operation, such as "not x".
UnclosedTagError is generated when a tag is not properly closed.
UnexpectedEOFError describes an unexpected end of input.
UnexpectedTokenError is generated when the current token is not of the expected type.
UnexpectedValueError describes an invalid or unexpected value inside a token.
A UseNode represents the inclusion of blocks from another template.
# Interfaces
A DebugError is emitted when the package is built with the debug flag.
Expr represents a special type of Node that represents an expression.
Node is an item in the AST.
A NodeVisitor can be used to modify node contents and structure.
A ParsingError represents an error originating from parsing.