Top Description Fields Constructors Methods
org.jruby.ast

public Class DStrNode

extends DNode
implements ILiteralNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.types.ILiteralNode
Imports
org.jcodings.Encoding, org.jruby.ast.types.ILiteralNode, org.jruby.ast.visitor.NodeVisitor, org.jruby.ir.builder.StringStyle

A string which contains some dynamic elements which needs to be evaluated (introduced by #).

Field Summary

Modifier and TypeField and Description
private StringStyle
Inherited from org.jruby.ast.DNode:
encoding

Constructor Summary

AccessConstructor and Description
public
DStrNode(int line, Encoding encoding)

Method Summary

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

Overrides org.jruby.ast.ListNode.accept.

Accept for the visitor pattern.

public NodeType
public StringStyle
public void
Inherited from org.jruby.ast.DNode:
getEncoding

Field Detail

stringStyleback to summary
private StringStyle stringStyle

Constructor Detail

DStrNodeback to summary
public DStrNode(int line, Encoding encoding)

Method Detail

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

Overrides org.jruby.ast.ListNode.accept.

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

Annotations
@Override
getNodeTypeback to summary
public NodeType getNodeType()

Overrides org.jruby.ast.ListNode.getNodeType.

Returns:NodeType

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

the nodeId

Annotations
@Override
getStringStyleback to summary
public StringStyle getStringStyle()
setStringStyleback to summary
public void setStringStyle(StringStyle frozen)