org.jruby.ast
Class TypedArgumentNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.ArgumentNode
          extended by org.jruby.ast.TypedArgumentNode
All Implemented Interfaces:
INameNode, ISourcePositionHolder

public class TypedArgumentNode
extends ArgumentNode


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
TypedArgumentNode(ArgumentNode argNode, Node typeNode)
           
 
Method Summary
 java.util.List<Node> childNodes()
           
 Node getTypeNode()
           
 
Methods inherited from class org.jruby.ast.ArgumentNode
accept, getDepth, getIndex, getName, getNodeType, setName
 
Methods inherited from class org.jruby.ast.Node
assign, createList, definition, getNodeName, getPosition, interpret, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypedArgumentNode

public TypedArgumentNode(ArgumentNode argNode,
                         Node typeNode)
Method Detail

getTypeNode

public Node getTypeNode()

childNodes

public java.util.List<Node> childNodes()
Overrides:
childNodes in class ArgumentNode


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