Nodes Classes, Controls, and VIs

Owning Palette: Advanced Classes, Controls, and VIs

Requires: Labstache

The Nodes project library contains all nodes that are used to build an Abstract Syntax Tree (AST) during the parsing process of compiling a Mustache template.

Library ItemDescription
CommentThe Comment class represents a Comment Mustache tag as a node in an Abstract Syntax Tree (AST).
DelimiterThe Delimiter class represents a Set Delimiter Mustache tag as a node in an Abstract Syntax Tree (AST).
NodeThe Node class is the abstract base class for all nodes in an Abstract Syntax Tree (AST). Objects of this class should not be directly created. Instead, a new class that inherents from the Node class should be created.
NonTerminalThe Non-Terminal class represents a node in an Abstract Syntax Tree (AST) that can have child nodes.
PartialThe Partial class represents a Partial Mustache tag as a node in an Abstract Syntax Tree (AST).
RootThe Root class represents the first node in an Abstract Syntax Tree (AST) and is the embodiment of the entire AST.
SectionThe Section class represents a Section or an Inverted Section Mustache tag as a node in an Abstract Syntax Tree (AST).
TerminalThe Terminal class represents any node that cannot have children in an Abstract Syntax Tree (AST). This is sometimes known has a "Leaf".
TextThe Text class represents a block of text without any Mustache tags as a node in an Abstract Syntax Tree (AST).
VariableThe Variable class represents an Escaped or Unescaped Variable Mustache tag as a node in an Abstract Syntax Tree (AST).