org.jruby.ast
Class Match2CaptureNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.Match2Node
          extended by org.jruby.ast.Match2CaptureNode
All Implemented Interfaces:
ISourcePositionHolder

public class Match2CaptureNode
extends Match2Node


Field Summary
 
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
Match2CaptureNode(ISourcePosition position, Node receiverNode, Node valueNode, int[] scopeOffsets)
           
 
Method Summary
 int[] getScopeOffsets()
           
 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 
Methods inherited from class org.jruby.ast.Match2Node
accept, childNodes, definition, getNodeType, getReceiverNode, getValueNode
 
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

Match2CaptureNode

public Match2CaptureNode(ISourcePosition position,
                         Node receiverNode,
                         Node valueNode,
                         int[] scopeOffsets)
Method Detail

getScopeOffsets

public int[] getScopeOffsets()

interpret

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


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