Package org.jruby.ast
Class NumericNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.NumericNode
- All Implemented Interfaces:
LiteralValue
,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, newline
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.ast.Node
accept, childNodes, containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, getNodeType, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jruby.ast.LiteralValue
literalValue
-
Constructor Details
-
NumericNode
public NumericNode(int line)
-
-
Method Details
-
negate
-