Package org.jruby.ast
Class XStrNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.XStrNode
- All Implemented Interfaces:
ILiteralNode
A Backtick(`) string
-
Field Summary
FieldsFields inherited from class org.jruby.ast.Node
containsVariableAssignment, EMPTY_LIST, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) Accept for the visitor pattern.intgetValue()Gets the value.Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Field Details
-
value
-
coderange
private final int coderange
-
-
Constructor Details
-
XStrNode
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
getValue
Gets the value.- Returns:
- Returns a String
-
getCodeRange
public int getCodeRange() -
childNodes
- Specified by:
childNodesin classNode
-