Package org.jruby.ast
Class DNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.ListNode
org.jruby.ast.DNode
- Direct Known Subclasses:
DRegexpNode
,DStrNode
,DSymbolNode
,DXStrNode
Base class for all D (e.g. Dynamic) node types like DStrNode, DSymbolNode, etc...
-
Field Summary
FieldsFields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.ast.ListNode
accept, add, addAll, addAll, addAll, addAllInternal, addInternal, childNodes, children, get, getLast, getNodeType, isEmpty, iterator, size
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
encoding
protected org.jcodings.Encoding encoding
-
-
Constructor Details
-
DNode
public DNode(int line) -
DNode
public DNode(int line, org.jcodings.Encoding encoding)
-
-
Method Details
-
getEncoding
public org.jcodings.Encoding getEncoding()
-