Top Description Fields Constructors Methods
org.jruby.ast

public Class XStrNode

extends Node
implements ILiteralNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.types.ILiteralNode
Imports
java.util.List, org.jruby.ast.types.ILiteralNode, org.jruby.ast.visitor.NodeVisitor, org.jruby.util.ByteList

A Backtick(`) string

Field Summary

Modifier and TypeField and Description
private final int
private final ByteList
Inherited from org.jruby.ast.Node:
containsVariableAssignmentEMPTY_LISTnewline

Constructor Summary

AccessConstructor and Description
public
XStrNode(int line, ByteList value, int coderange)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T>
the visitor
iVisitor
)

Implements abstract org.jruby.ast.Node.accept.

Accept for the visitor pattern.

public List<Node>
public int
public NodeType
public ByteList

Returns:

Returns a String
getValue
()

Gets the value.

Inherited from org.jruby.ast.Node:
containsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNameisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Field Detail

coderangeback to summary
private final int coderange
valueback to summary
private final ByteList value

Constructor Detail

XStrNodeback to summary
public XStrNode(int line, ByteList value, int coderange)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> iVisitor)

Implements abstract org.jruby.ast.Node.accept.

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

childNodesback to summary
public List<Node> childNodes()

Implements abstract org.jruby.ast.Node.childNodes.

getCodeRangeback to summary
public int getCodeRange()
getNodeTypeback to summary
public NodeType getNodeType()

Implements abstract org.jruby.ast.Node.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

getValueback to summary
public ByteList getValue()

Gets the value.

Returns:ByteList

Returns a String