org.jruby.ast
Class DStrNode

java.lang.Object
  extended byorg.jruby.ast.Node
      extended byorg.jruby.ast.ListNode
          extended byorg.jruby.ast.DStrNode
All Implemented Interfaces:
ILiteralNode, InstructionContext, ISourcePositionHolder, java.io.Serializable

public class DStrNode
extends ListNode
implements ILiteralNode

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

Author:
jpetersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jruby.ast.Node
instruction, nodeId
 
Constructor Summary
DStrNode(ISourcePosition position)
           
 
Method Summary
 Instruction accept(NodeVisitor iVisitor)
          Accept for the visitor pattern.
 
Methods inherited from class org.jruby.ast.ListNode
add, addAll, addAll, childNodes, get, getLast, prepend, size, toString
 
Methods inherited from class org.jruby.ast.Node
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DStrNode

public DStrNode(ISourcePosition position)
Method Detail

accept

public Instruction accept(NodeVisitor iVisitor)
Accept for the visitor pattern.

Overrides:
accept in class ListNode
Parameters:
iVisitor - the visitor


Copyright © 2002-2007 JRuby Team. All Rights Reserved.