NumericNode: Numeric AST node

NumericNodeR Documentation

Numeric AST node

Description

AST node that reprsents a numeric (integer or float) value.

Super class

DSLite::Node -> NumericNode

Methods

Public methods

Inherited methods

Method add_child()

No children

Usage
NumericNode$add_child(val)
Arguments
val

Child Node


Method to_string()

Get the string representation of the NumericNode

Usage
NumericNode$to_string()

Method clone()

The objects of this class are cloneable with this method.

Usage
NumericNode$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other parser items: BinaryOpNode, FormulaNode, FunctionNode, GroupNode, Node, ParameterNode, RangeNode, StringNode, SymbolNode, UnaryOpNode


DSLite documentation built on Oct. 7, 2022, 9:05 a.m.