org.jruby.compiler.impl
Class InheritedCacheCompiler
java.lang.Object
org.jruby.compiler.impl.InheritedCacheCompiler
- All Implemented Interfaces:
- CacheCompiler
public class InheritedCacheCompiler
- extends java.lang.Object
- implements 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 valueCallback)
|
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,
ByteList contents)
|
void |
cacheSymbol(BaseBodyCompiler method,
java.lang.String symbol)
|
void |
finish()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptCompiler
protected StandardASMCompiler scriptCompiler
InheritedCacheCompiler
public InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
cacheStaticScope
public void cacheStaticScope(BaseBodyCompiler method,
StaticScope scope)
- Specified by:
cacheStaticScope
in interface CacheCompiler
cacheCallSite
public void cacheCallSite(BaseBodyCompiler method,
java.lang.String name,
CallType callType)
- Specified by:
cacheCallSite
in interface CacheCompiler
cacheSymbol
public void cacheSymbol(BaseBodyCompiler method,
java.lang.String symbol)
- Specified by:
cacheSymbol
in interface CacheCompiler
cacheRegexp
public void cacheRegexp(BaseBodyCompiler method,
java.lang.String pattern,
int options)
- Specified by:
cacheRegexp
in interface CacheCompiler
cacheDRegexp
public void cacheDRegexp(BaseBodyCompiler method,
CompilerCallback createStringCallback,
int options)
- Specified by:
cacheDRegexp
in interface CacheCompiler
cacheFixnum
public void cacheFixnum(BaseBodyCompiler method,
long value)
- Specified by:
cacheFixnum
in interface CacheCompiler
cacheConstant
public void cacheConstant(BaseBodyCompiler method,
java.lang.String constantName)
- Specified by:
cacheConstant
in interface CacheCompiler
cacheConstantFrom
public void cacheConstantFrom(BaseBodyCompiler method,
java.lang.String constantName)
- Specified by:
cacheConstantFrom
in interface CacheCompiler
cacheString
public void cacheString(BaseBodyCompiler method,
ByteList contents)
- Specified by:
cacheString
in interface CacheCompiler
cacheBigInteger
public void cacheBigInteger(BaseBodyCompiler method,
java.math.BigInteger bigint)
- Specified by:
cacheBigInteger
in interface CacheCompiler
cachedGetVariable
public void cachedGetVariable(BaseBodyCompiler method,
java.lang.String name)
- Specified by:
cachedGetVariable
in interface CacheCompiler
cachedSetVariable
public void cachedSetVariable(BaseBodyCompiler method,
java.lang.String name,
CompilerCallback valueCallback)
- Specified by:
cachedSetVariable
in interface CacheCompiler
cacheClosure
public void cacheClosure(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
- Specified by:
cacheClosure
in interface CacheCompiler
cacheClosure19
public void cacheClosure19(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
- Specified by:
cacheClosure19
in interface CacheCompiler
cacheSpecialClosure
public void cacheSpecialClosure(BaseBodyCompiler method,
java.lang.String closureMethod)
- Specified by:
cacheSpecialClosure
in interface CacheCompiler
cacheMethod
public void cacheMethod(BaseBodyCompiler method,
java.lang.String methodName)
- Specified by:
cacheMethod
in interface CacheCompiler
cacheMethod
public void cacheMethod(BaseBodyCompiler method,
java.lang.String methodName,
int receiverLocal)
- Specified by:
cacheMethod
in interface CacheCompiler
finish
public void finish()
- Specified by:
finish
in interface CacheCompiler
Copyright © 2002-2007 JRuby Team. All Rights Reserved.