org.jruby.compiler
Interface CacheCompiler

All Known Implementing Classes:
InheritedCacheCompiler

public interface CacheCompiler

Author:
headius

Method Summary
 void cacheBigInteger(BaseBodyCompiler method, java.math.BigInteger bigint)
           
 void cacheCallSite(BaseBodyCompiler method, java.lang.String name, CallType callType)
           
 void cacheClosure(BaseBodyCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 void cacheClosure19(BaseBodyCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 void cacheConstant(BaseBodyCompiler method, java.lang.String constantName)
           
 void cacheConstantFrom(BaseBodyCompiler method, java.lang.String constantName)
           
 void cachedGetVariable(BaseBodyCompiler method, java.lang.String name)
           
 void cacheDRegexp(BaseBodyCompiler method, CompilerCallback createStringCallback, int options)
           
 void cachedSetVariable(BaseBodyCompiler method, java.lang.String name, CompilerCallback value)
           
 void cacheFixnum(BaseBodyCompiler method, long value)
           
 void cacheMethod(BaseBodyCompiler method, java.lang.String methodName)
           
 void cacheMethod(BaseBodyCompiler method, java.lang.String methodName, int receiverLocal)
           
 void cacheRegexp(BaseBodyCompiler method, java.lang.String pattern, int options)
           
 void cacheSpecialClosure(BaseBodyCompiler method, java.lang.String closureMethod)
           
 void cacheStaticScope(BaseBodyCompiler method, StaticScope scope)
           
 void cacheString(BaseBodyCompiler method, org.jruby.util.ByteList contents)
           
 void cacheSymbol(BaseBodyCompiler method, java.lang.String symbol)
           
 void finish()
           
 

Method Detail

cacheCallSite

void cacheCallSite(BaseBodyCompiler method,
                   java.lang.String name,
                   CallType callType)

cacheString

void cacheString(BaseBodyCompiler method,
                 org.jruby.util.ByteList contents)

cacheSymbol

void cacheSymbol(BaseBodyCompiler method,
                 java.lang.String symbol)

cacheFixnum

void cacheFixnum(BaseBodyCompiler method,
                 long value)

cacheBigInteger

void cacheBigInteger(BaseBodyCompiler method,
                     java.math.BigInteger bigint)

cachedGetVariable

void cachedGetVariable(BaseBodyCompiler method,
                       java.lang.String name)

cachedSetVariable

void cachedSetVariable(BaseBodyCompiler method,
                       java.lang.String name,
                       CompilerCallback value)

cacheRegexp

void cacheRegexp(BaseBodyCompiler method,
                 java.lang.String pattern,
                 int options)

cacheDRegexp

void cacheDRegexp(BaseBodyCompiler method,
                  CompilerCallback createStringCallback,
                  int options)

cacheClosure

void cacheClosure(BaseBodyCompiler method,
                  java.lang.String closureMethod,
                  int arity,
                  StaticScope scope,
                  boolean hasMultipleArgsHead,
                  NodeType argsNodeId,
                  ASTInspector inspector)

cacheClosure19

void cacheClosure19(BaseBodyCompiler method,
                    java.lang.String closureMethod,
                    int arity,
                    StaticScope scope,
                    boolean hasMultipleArgsHead,
                    NodeType argsNodeId,
                    ASTInspector inspector)

cacheSpecialClosure

void cacheSpecialClosure(BaseBodyCompiler method,
                         java.lang.String closureMethod)

cacheConstant

void cacheConstant(BaseBodyCompiler method,
                   java.lang.String constantName)

cacheConstantFrom

void cacheConstantFrom(BaseBodyCompiler method,
                       java.lang.String constantName)

cacheStaticScope

void cacheStaticScope(BaseBodyCompiler method,
                      StaticScope scope)

cacheMethod

void cacheMethod(BaseBodyCompiler method,
                 java.lang.String methodName)

cacheMethod

void cacheMethod(BaseBodyCompiler method,
                 java.lang.String methodName,
                 int receiverLocal)

finish

void finish()


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