Package org.jruby.ast
Class DStrNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.ListNode
org.jruby.ast.DNode
org.jruby.ast.DStrNode
- All Implemented Interfaces:
Iterable<Node>,ILiteralNode
A string which contains some dynamic elements which needs to be evaluated (introduced by #).
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) Accept for the visitor pattern.voidsetStringStyle(StringStyle frozen) Methods inherited from class org.jruby.ast.DNode
getEncodingMethods inherited from class org.jruby.ast.ListNode
add, addAll, addAll, addAll, addAllInternal, addInternal, childNodes, children, get, getLast, isEmpty, iterator, sizeMethods 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, unsetNewlineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DStrNode
public DStrNode(int line, org.jcodings.Encoding encoding)
-
-
Method Details
-
getNodeType
- Overrides:
getNodeTypein classListNode- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
getStringStyle
-
setStringStyle
-