| UnaryOpNode {DSLite} | R Documentation |
Unary operator AST node
Description
AST node that represents a unary operator (such as '-'), therefore having a single child node.
Super class
DSLite::Node -> UnaryOpNode
Methods
Public methods
Inherited methods
Method add_child()
One children
Usage
UnaryOpNode$add_child(val)
Arguments
valChild Node
Method to_string()
Get the string representation of the UnaryOpNode
Usage
UnaryOpNode$to_string()
Method clone()
The objects of this class are cloneable with this method.
Usage
UnaryOpNode$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
Other parser items:
BinaryOpNode,
FormulaNode,
FunctionNode,
GroupNode,
Node,
NumericNode,
ParameterNode,
RangeNode,
StringNode,
SymbolNode
[Package DSLite version 1.4.0 Index]