org.jruby.ast
Class YieldOneNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.YieldNode
          extended by org.jruby.ast.YieldOneNode
All Implemented Interfaces:
ISourcePositionHolder

public class YieldOneNode
extends YieldNode

Author:
enebo

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
YieldOneNode(ISourcePosition position, ArrayNode args)
           
YieldOneNode(ISourcePosition position, FixnumNode arg)
           
 
Method Summary
 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 
Methods inherited from class org.jruby.ast.YieldNode
accept, childNodes, definition, getArgsNode, getCheckState, getExpandArguments, getNodeType
 
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

YieldOneNode

public YieldOneNode(ISourcePosition position,
                    ArrayNode args)

YieldOneNode

public YieldOneNode(ISourcePosition position,
                    FixnumNode arg)
Method Detail

interpret

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


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