Learn R Programming

DSLite (version 1.4.0)

NumericNode: Numeric AST node

Description

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

Arguments

Super class

DSLite::Node -> NumericNode

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