R/ast.R
FormulaNode.Rd
AST node that reprsents a formula (such as NAME ~ terms).
Other parser items: BinaryOpNode, FunctionNode, GroupNode, Node, NumericNode, ParameterNode, RangeNode, StringNode, SymbolNode, UnaryOpNode
BinaryOpNode
FunctionNode
GroupNode
Node
NumericNode
ParameterNode
RangeNode
StringNode
SymbolNode
UnaryOpNode
DSLite::Node -> FormulaNode
DSLite::Node
FormulaNode
FormulaNode$add_child()
FormulaNode$to_string()
FormulaNode$clone()
Inherited methodsDSLite::Node$accept() DSLite::Node$initialize() DSLite::Node$set_parent() DSLite::Node$to_string_children()
DSLite::Node$accept()
DSLite::Node$initialize()
DSLite::Node$set_parent()
DSLite::Node$to_string_children()
add_child()
Two children
FormulaNode$add_child(val)
val
Child Node
to_string()
Get the string representation of the BinaryOpNode
clone()
The objects of this class are cloneable with this method.
FormulaNode$clone(deep = FALSE)
deep
Whether to make a deep clone.