org.jruby.compiler
Class NodeCompilerFactory

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

public class NodeCompilerFactory
extends java.lang.Object

Author:
headius

Field Summary
static boolean SAFE
           
static java.util.Set UNSAFE_CALLS
           
 
Constructor Summary
NodeCompilerFactory()
           
 
Method Summary
static void confirmNodeIsSafe(Node node)
          Check whether the target node can safely be compiled.
static NodeCompiler getArgumentsCompiler(Node node)
           
static NodeCompiler getAssignmentCompiler(Node node)
           
static NodeCompiler getCompiler(Node node)
           
static YARVNodesCompiler getYARVCompiler()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAFE

public static final boolean SAFE

UNSAFE_CALLS

public static final java.util.Set UNSAFE_CALLS
Constructor Detail

NodeCompilerFactory

public NodeCompilerFactory()
Method Detail

getYARVCompiler

public static YARVNodesCompiler getYARVCompiler()

getCompiler

public static NodeCompiler getCompiler(Node node)

getArgumentsCompiler

public static NodeCompiler getArgumentsCompiler(Node node)

getAssignmentCompiler

public static NodeCompiler getAssignmentCompiler(Node node)

confirmNodeIsSafe

public static void confirmNodeIsSafe(Node node)
Check whether the target node can safely be compiled.

Parameters:
node -


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