Abstract Syntaxic Tree (AST) node that will be created by the DSLite R parser.
nameToken value
parentParent Node
childrenChildren Nodes
new()Simple node constructor
Node$new(name = NA, parent = NA)nameToken value
parentParent Node
A Node object
set_parent()Set parent Node
Node$set_parent(val)valParent Node
add_child()Add a child Node
Node$add_child(val)valChild Node
to_string()The string representation of the Node
Node$to_string()
to_string_children()Get the string representation of the Node's children
Node$to_string_children()
accept()Accept visitor
Node$accept(visitor)visitorNode visitor object
clone()The objects of this class are cloneable with this method.
Node$clone(deep = FALSE)deepWhether to make a deep clone.
Other parser items:
BinaryOpNode,
FormulaNode,
FunctionNode,
GroupNode,
NumericNode,
ParameterNode,
RangeNode,
StringNode,
SymbolNode,
UnaryOpNode