org.jruby.ast
Class DStrNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.DStrNode
All Implemented Interfaces:
IListNode, ILiteralNode, INode, java.io.Serializable

public final class DStrNode
extends AbstractNode
implements IListNode, ILiteralNode

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

Version:
$Revision: 1.3 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
DStrNode(ISourcePosition position)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 IListNode add(INode node)
           
 java.util.Iterator iterator()
           
 int size()
           
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ablaf.ast.INode
getPosition
 

Constructor Detail

DStrNode

public DStrNode(ISourcePosition position)
Method Detail

add

public IListNode add(INode node)
Specified by:
add in interface IListNode

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface IListNode

size

public int size()
Specified by:
size in interface IListNode
See Also:
IListNode.size()

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Specified by:
accept in interface INode
Parameters:
iVisitor - the visitor


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.