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 cacheByteList(BaseBodyCompiler method, org.jruby.util.ByteList contents)
           
 void cacheCallSite(BaseBodyCompiler method, java.lang.String name, CallType callType)
           
 void cacheClosure(BaseBodyCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, java.lang.String file, int line, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 void cacheClosure19(BaseBodyCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, java.lang.String file, int line, boolean hasMultipleArgsHead, NodeType argsNodeId, java.lang.String parameterList, 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 cacheEncoding(BaseBodyCompiler method, org.jcodings.Encoding encoding)
           
 void cacheFixnum(BaseBodyCompiler method, long value)
           
 void cacheFloat(BaseBodyCompiler method, double value)
           
 void cacheMethod(BaseBodyCompiler method, java.lang.String methodName)
           
 void cacheMethod(BaseBodyCompiler method, java.lang.String methodName, int receiverLocal)
           
 void cacheRegexp(BaseBodyCompiler method, org.jruby.util.ByteList 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, int codeRange)
           
 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,
                 int codeRange)

cacheByteList

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

cacheEncoding

void cacheEncoding(BaseBodyCompiler method,
                   org.jcodings.Encoding encoding)

cacheSymbol

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

cacheFixnum

void cacheFixnum(BaseBodyCompiler method,
                 long value)

cacheFloat

void cacheFloat(BaseBodyCompiler method,
                double 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,
                 org.jruby.util.ByteList 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,
                  java.lang.String file,
                  int line,
                  boolean hasMultipleArgsHead,
                  NodeType argsNodeId,
                  ASTInspector inspector)

cacheClosure19

void cacheClosure19(BaseBodyCompiler method,
                    java.lang.String closureMethod,
                    int arity,
                    StaticScope scope,
                    java.lang.String file,
                    int line,
                    boolean hasMultipleArgsHead,
                    NodeType argsNodeId,
                    java.lang.String parameterList,
                    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.