| UnaryOpNode | R Documentation |
AST node that represents a unary operator (such as '-'), therefore having a single child node.
DSLite::Node -> UnaryOpNode
add_child()One children
UnaryOpNode$add_child(val)
valChild Node
to_string()Get the string representation of the UnaryOpNode
UnaryOpNode$to_string()
clone()The objects of this class are cloneable with this method.
UnaryOpNode$clone(deep = FALSE)
deepWhether to make a deep clone.
Other parser items:
BinaryOpNode,
FormulaNode,
FunctionNode,
GroupNode,
Node,
NumericNode,
ParameterNode,
RangeNode,
StringNode,
SymbolNode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.