public class InheritedCacheCompiler extends java.lang.Object implements CacheCompiler
| Modifier and Type | Field and Description |
|---|---|
protected StandardASMCompiler |
scriptCompiler |
| Constructor and Description |
|---|
InheritedCacheCompiler(StandardASMCompiler scriptCompiler) |
| Modifier and Type | Method and Description |
|---|---|
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 valueCallback) |
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() |
protected StandardASMCompiler scriptCompiler
public InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
public void cacheStaticScope(BaseBodyCompiler method, StaticScope scope)
cacheStaticScope in interface CacheCompilerpublic void cacheCallSite(BaseBodyCompiler method, java.lang.String name, CallType callType)
cacheCallSite in interface CacheCompilerpublic void cacheSymbol(BaseBodyCompiler method, java.lang.String symbol)
cacheSymbol in interface CacheCompilerpublic void cacheRegexp(BaseBodyCompiler method, org.jruby.util.ByteList pattern, int options)
cacheRegexp in interface CacheCompilerpublic void cacheDRegexp(BaseBodyCompiler method, CompilerCallback createStringCallback, int options)
cacheDRegexp in interface CacheCompilerpublic void cacheFixnum(BaseBodyCompiler method, long value)
cacheFixnum in interface CacheCompilerpublic void cacheFloat(BaseBodyCompiler method, double value)
cacheFloat in interface CacheCompilerpublic void cacheConstant(BaseBodyCompiler method, java.lang.String constantName)
cacheConstant in interface CacheCompilerpublic void cacheConstantFrom(BaseBodyCompiler method, java.lang.String constantName)
cacheConstantFrom in interface CacheCompilerpublic void cacheString(BaseBodyCompiler method, org.jruby.util.ByteList contents, int codeRange)
cacheString in interface CacheCompilerpublic void cacheByteList(BaseBodyCompiler method, org.jruby.util.ByteList contents)
cacheByteList in interface CacheCompilerpublic void cacheEncoding(BaseBodyCompiler method, org.jcodings.Encoding encoding)
cacheEncoding in interface CacheCompilerpublic void cacheBigInteger(BaseBodyCompiler method, java.math.BigInteger bigint)
cacheBigInteger in interface CacheCompilerpublic void cachedGetVariable(BaseBodyCompiler method, java.lang.String name)
cachedGetVariable in interface CacheCompilerpublic void cachedSetVariable(BaseBodyCompiler method, java.lang.String name, CompilerCallback valueCallback)
cachedSetVariable in interface CacheCompilerpublic void cacheClosure(BaseBodyCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, java.lang.String file, int line, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
cacheClosure in interface CacheCompilerpublic 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)
cacheClosure19 in interface CacheCompilerpublic void cacheSpecialClosure(BaseBodyCompiler method, java.lang.String closureMethod)
cacheSpecialClosure in interface CacheCompilerpublic void cacheMethod(BaseBodyCompiler method, java.lang.String methodName)
cacheMethod in interface CacheCompilerpublic void cacheMethod(BaseBodyCompiler method, java.lang.String methodName, int receiverLocal)
cacheMethod in interface CacheCompilerpublic void finish()
finish in interface CacheCompilerCopyright © 2002-2009 JRuby Team. All Rights Reserved.