org.jruby.compiler.impl
Class InheritedCacheCompiler

java.lang.Object
  extended by org.jruby.compiler.impl.InheritedCacheCompiler
All Implemented Interfaces:
CacheCompiler

public class InheritedCacheCompiler
extends java.lang.Object
implements CacheCompiler

Author:
headius

Field Summary
protected  StandardASMCompiler scriptCompiler
           
 
Constructor Summary
InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
           
 
Method Summary
 void cacheBigInteger(BaseBodyCompiler method, java.math.BigInteger bigint)
           
 void cacheByteList(BaseBodyCompiler method, ByteList contents)
           
 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 cacheClosureOld(BaseBodyCompiler method, java.lang.String closureMethod)
           
 void cacheConstant(BaseBodyCompiler method, java.lang.String constantName)
           
 void cacheFixnum(BaseBodyCompiler method, long value)
           
 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
 

Field Detail

scriptCompiler

protected StandardASMCompiler scriptCompiler
Constructor Detail

InheritedCacheCompiler

public InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
Method Detail

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

cacheFixnum

public void cacheFixnum(BaseBodyCompiler method,
                        long value)
Specified by:
cacheFixnum in interface CacheCompiler

finish

public void finish()
Specified by:
finish in interface CacheCompiler

cacheConstant

public void cacheConstant(BaseBodyCompiler method,
                          java.lang.String constantName)
Specified by:
cacheConstant in interface CacheCompiler

cacheByteList

public void cacheByteList(BaseBodyCompiler method,
                          ByteList contents)
Specified by:
cacheByteList in interface CacheCompiler

cacheBigInteger

public void cacheBigInteger(BaseBodyCompiler method,
                            java.math.BigInteger bigint)
Specified by:
cacheBigInteger 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

cacheClosureOld

public void cacheClosureOld(BaseBodyCompiler method,
                            java.lang.String closureMethod)
Specified by:
cacheClosureOld in interface CacheCompiler


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