public class InheritedCacheCompiler extends 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,
BigInteger bigint) |
void |
cacheBoolean(BaseBodyCompiler method,
boolean tru) |
void |
cacheByteList(BaseBodyCompiler method,
org.jruby.util.ByteList contents) |
void |
cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType) |
int |
cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
int |
cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
void |
cacheConstant(BaseBodyCompiler method,
String constantName) |
void |
cacheConstantBoolean(BaseBodyCompiler method,
String constantName) |
void |
cacheConstantDefined(BaseBodyCompiler method,
String constantName) |
void |
cacheConstantFrom(BaseBodyCompiler method,
String constantName) |
void |
cachedGetVariable(BaseBodyCompiler method,
String name) |
void |
cachedGetVariableDefined(BaseBodyCompiler method,
String name) |
void |
cacheDRegexp(BaseBodyCompiler method,
CompilerCallback createStringCallback,
int options) |
void |
cacheDRegexp19(BaseBodyCompiler method,
ArrayCallback arrayCallback,
Object[] sourceArray,
int options) |
void |
cachedSetVariable(BaseBodyCompiler method,
String name,
CompilerCallback valueCallback) |
int |
cacheEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
cacheFixnum(BaseBodyCompiler method,
long value) |
void |
cacheFloat(BaseBodyCompiler method,
double value) |
void |
cacheGlobal(BaseBodyCompiler method,
String globalName) |
void |
cacheGlobalBoolean(BaseBodyCompiler method,
String globalName) |
void |
cacheMethod(BaseBodyCompiler method,
String methodName) |
void |
cacheMethod(BaseBodyCompiler method,
String methodName,
int receiverLocal) |
void |
cacheRegexp(BaseBodyCompiler method,
org.jruby.util.ByteList pattern,
int options) |
void |
cacheRubyEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
cacheSpecialClosure(BaseBodyCompiler method,
String closureMethod) |
int |
cacheStaticScope(BaseBodyCompiler method,
StaticScope scope) |
void |
cacheString(BaseBodyCompiler method,
org.jruby.util.ByteList contents,
int codeRange) |
void |
cacheSymbol(BaseBodyCompiler method,
String symbol) |
void |
finish() |
void |
loadStaticScope(BaseBodyCompiler method,
int index) |
int |
reserveStaticScope() |
protected StandardASMCompiler scriptCompiler
public InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
public int reserveStaticScope()
reserveStaticScope in interface CacheCompilerpublic int cacheStaticScope(BaseBodyCompiler method, StaticScope scope)
cacheStaticScope in interface CacheCompilerpublic void loadStaticScope(BaseBodyCompiler method, int index)
loadStaticScope in interface CacheCompilerpublic void cacheCallSite(BaseBodyCompiler method, String name, CallType callType)
cacheCallSite in interface CacheCompilerpublic void cacheSymbol(BaseBodyCompiler method, 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 cacheDRegexp19(BaseBodyCompiler method, ArrayCallback arrayCallback, Object[] sourceArray, int options)
cacheDRegexp19 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, String constantName)
cacheConstant in interface CacheCompilerpublic void cacheConstantBoolean(BaseBodyCompiler method, String constantName)
cacheConstantBoolean in interface CacheCompilerpublic void cacheConstantDefined(BaseBodyCompiler method, String constantName)
cacheConstantDefined in interface CacheCompilerpublic void cacheConstantFrom(BaseBodyCompiler method, 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 cacheRubyEncoding(BaseBodyCompiler method, org.jcodings.Encoding encoding)
cacheRubyEncoding in interface CacheCompilerpublic int cacheEncoding(BaseBodyCompiler method, org.jcodings.Encoding encoding)
cacheEncoding in interface CacheCompilerpublic void cacheBigInteger(BaseBodyCompiler method, BigInteger bigint)
cacheBigInteger in interface CacheCompilerpublic void cachedGetVariable(BaseBodyCompiler method, String name)
cachedGetVariable in interface CacheCompilerpublic void cachedGetVariableDefined(BaseBodyCompiler method, String name)
cachedGetVariableDefined in interface CacheCompilerpublic void cachedSetVariable(BaseBodyCompiler method, String name, CompilerCallback valueCallback)
cachedSetVariable in interface CacheCompilerpublic int cacheClosure(BaseBodyCompiler method, String closureMethod, int arity, StaticScope scope, String file, int line, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
cacheClosure in interface CacheCompilerpublic int cacheClosure19(BaseBodyCompiler method, String closureMethod, int arity, StaticScope scope, String file, int line, boolean hasMultipleArgsHead, NodeType argsNodeId, String parameterList, ASTInspector inspector)
cacheClosure19 in interface CacheCompilerpublic void cacheSpecialClosure(BaseBodyCompiler method, String closureMethod)
cacheSpecialClosure in interface CacheCompilerpublic void cacheMethod(BaseBodyCompiler method, String methodName)
cacheMethod in interface CacheCompilerpublic void cacheMethod(BaseBodyCompiler method, String methodName, int receiverLocal)
cacheMethod in interface CacheCompilerpublic void cacheGlobal(BaseBodyCompiler method, String globalName)
cacheGlobal in interface CacheCompilerpublic void cacheGlobalBoolean(BaseBodyCompiler method, String globalName)
cacheGlobalBoolean in interface CacheCompilerpublic void cacheBoolean(BaseBodyCompiler method, boolean tru)
cacheBoolean in interface CacheCompilerpublic void finish()
finish in interface CacheCompilerCopyright © 2001-2013 JRuby. All Rights Reserved.