Top Description Fields Constructors Methods
org.jruby.ast

public abstract Class NumericNode

extends Node
implements ILiteralNode, LiteralValue
Class Inheritance
All Implemented Interfaces
org.jruby.ast.LiteralValue, org.jruby.ast.types.ILiteralNode
Known Direct Subclasses
org.jruby.ast.RationalNode, org.jruby.ast.BignumNode, org.jruby.ast.ComplexNode, org.jruby.ast.FixnumNode, org.jruby.ast.FloatNode
Imports
org.jruby.ast.types.ILiteralNode

Any node representing a numeric value.

Field Summary

Inherited from org.jruby.ast.Node:
containsVariableAssignmentEMPTY_LISTnewline

Constructor Summary

AccessConstructor and Description
public
NumericNode(int line)

Method Summary

Modifier and TypeMethod and Description
public NumericNode
Inherited from org.jruby.ast.Node:
acceptchildNodescontainsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNamegetNodeTypeisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Constructor Detail

NumericNodeback to summary
public NumericNode(int line)

Method Detail

negateback to summary
public NumericNode negate()