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 Item | Description |
---|---|
Comment | The Comment class represents a Comment Mustache tag as a node in an Abstract Syntax Tree (AST). |
Delimiter | The Delimiter class represents a Set Delimiter Mustache tag as a node in an Abstract Syntax Tree (AST). |
Node | The 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. |
NonTerminal | The Non-Terminal class represents a node in an Abstract Syntax Tree (AST) that can have child nodes. |
Partial | The Partial class represents a Partial Mustache tag as a node in an Abstract Syntax Tree (AST). |
Root | The Root class represents the first node in an Abstract Syntax Tree (AST) and is the embodiment of the entire AST. |
Section | The Section class represents a Section or an Inverted Section Mustache tag as a node in an Abstract Syntax Tree (AST). |
Terminal | The Terminal class represents any node that cannot have children in an Abstract Syntax Tree (AST). This is sometimes known has a "Leaf". |
Text | The Text class represents a block of text without any Mustache tags as a node in an Abstract Syntax Tree (AST). |
Variable | The Variable class represents an Escaped or Unescaped Variable Mustache tag as a node in an Abstract Syntax Tree (AST). |