org.jruby.ast
Class DXStrNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.ListNode
          extended by org.jruby.ast.DNode
              extended by org.jruby.ast.DXStrNode
All Implemented Interfaces:
ILiteralNode, ISourcePositionHolder

public class DXStrNode
extends DNode
implements ILiteralNode

Dynamic backquote string. Backquote strings are eXecuted using the shell, hence the X or maybe the X is due to the %x general quote syntax?


Field Summary
 
Fields inherited from class org.jruby.ast.DNode
encoding
 
Fields inherited from class org.jruby.ast.Node
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST
 
Constructor Summary
DXStrNode(ISourcePosition position)
           
DXStrNode(ISourcePosition position, DStrNode node)
           
 
Method Summary
 java.lang.Object accept(NodeVisitor iVisitor)
          Accept for the visitor pattern.
 NodeType getNodeType()
           
 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 
Methods inherited from class org.jruby.ast.DNode
allocateString, appendToString, buildDynamicString, definition, is19, isSameEncoding
 
Methods inherited from class org.jruby.ast.ListNode
add, addAll, addAll, childNodes, get, getLast, prepend, size
 
Methods inherited from class org.jruby.ast.Node
assign, createList, getNodeName, getPosition, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DXStrNode

public DXStrNode(ISourcePosition position,
                 DStrNode node)

DXStrNode

public DXStrNode(ISourcePosition position)
Method Detail

getNodeType

public NodeType getNodeType()
Overrides:
getNodeType in class ListNode
Returns:
the nodeId

accept

public java.lang.Object accept(NodeVisitor iVisitor)
Accept for the visitor pattern.

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

interpret

public IRubyObject interpret(Ruby runtime,
                             ThreadContext context,
                             IRubyObject self,
                             Block aBlock)
Overrides:
interpret in class DNode


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