Package org.jruby.ast
Class ComplexNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.NumericNode
org.jruby.ast.ComplexNode
- All Implemented Interfaces:
LiteralValue
,SideEffectFree
,ILiteralNode
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> visitor) literalValue
(Ruby runtime) void
Methods inherited from class org.jruby.ast.NumericNode
negate
Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
ComplexNode
-
-
Method Details
-
accept
-
childNodes
- Specified by:
childNodes
in classNode
-
getNodeType
- Specified by:
getNodeType
in classNode
- Returns:
- the nodeId
-
getNumber
-
setNumber
-
literalValue
- Specified by:
literalValue
in interfaceLiteralValue
-