org.jruby.compiler
Class ASTInspector

java.lang.Object
  extended by org.jruby.compiler.ASTInspector

public class ASTInspector
extends java.lang.Object

Author:
headius

Field Summary
static boolean ENABLED
           
static java.util.Set<java.lang.String> FRAME_AWARE_METHODS
           
 
Constructor Summary
ASTInspector()
           
 
Method Summary
 void disable()
           
 boolean hasBlockArg()
           
 boolean hasClass()
           
 boolean hasClosure()
           
 boolean hasDef()
           
 boolean hasFrameAwareMethods()
           
 boolean hasOptArgs()
           
 boolean hasRestArg()
           
 boolean hasScopeAwareMethods()
           
 void inspect(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRAME_AWARE_METHODS

public static java.util.Set<java.lang.String> FRAME_AWARE_METHODS

ENABLED

public static final boolean ENABLED
Constructor Detail

ASTInspector

public ASTInspector()
Method Detail

disable

public void disable()

inspect

public void inspect(Node node)

hasClass

public boolean hasClass()

hasClosure

public boolean hasClosure()

hasDef

public boolean hasDef()

hasFrameAwareMethods

public boolean hasFrameAwareMethods()

hasScopeAwareMethods

public boolean hasScopeAwareMethods()

hasBlockArg

public boolean hasBlockArg()

hasOptArgs

public boolean hasOptArgs()

hasRestArg

public boolean hasRestArg()


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