Package org.jruby.ast
Class NumericNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.NumericNode
- All Implemented Interfaces:
ILiteralNode
- Direct Known Subclasses:
BignumNode,ComplexNode,FixnumNode,FloatNode,RationalNode
Any node representing a numeric value.
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, EMPTY_LIST, newline -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.ast.Node
accept, childNodes, containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getNodeType, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
NumericNode
public NumericNode(int line)
-
-
Method Details
-
negate
-