Package | Description |
---|---|
org.jruby.compiler | |
org.jruby.compiler.impl | |
org.jruby.runtime.opto |
Modifier and Type | Method and Description |
---|---|
void |
CacheCompiler.cacheBigInteger(BaseBodyCompiler method,
BigInteger bigint) |
void |
CacheCompiler.cacheBoolean(BaseBodyCompiler method,
boolean tru) |
void |
CacheCompiler.cacheByteList(BaseBodyCompiler method,
org.jruby.util.ByteList contents) |
void |
CacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType) |
int |
CacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
int |
CacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
void |
CacheCompiler.cacheConstant(BaseBodyCompiler method,
String constantName) |
void |
CacheCompiler.cacheConstantBoolean(BaseBodyCompiler method,
String globalName) |
void |
CacheCompiler.cacheConstantDefined(BaseBodyCompiler method,
String constantName) |
void |
CacheCompiler.cacheConstantFrom(BaseBodyCompiler method,
String constantName) |
void |
CacheCompiler.cachedGetVariable(BaseBodyCompiler method,
String name) |
void |
CacheCompiler.cachedGetVariableDefined(BaseBodyCompiler method,
String name) |
void |
CacheCompiler.cacheDRegexp(BaseBodyCompiler method,
CompilerCallback createStringCallback,
int options) |
void |
CacheCompiler.cacheDRegexp19(BaseBodyCompiler method,
ArrayCallback arrayCallback,
Object[] sourceArray,
int options) |
void |
CacheCompiler.cachedSetVariable(BaseBodyCompiler method,
String name,
CompilerCallback value) |
int |
CacheCompiler.cacheEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
CacheCompiler.cacheFixnum(BaseBodyCompiler method,
long value) |
void |
CacheCompiler.cacheFloat(BaseBodyCompiler method,
double value) |
void |
CacheCompiler.cacheGlobal(BaseBodyCompiler method,
String globalName) |
void |
CacheCompiler.cacheGlobalBoolean(BaseBodyCompiler method,
String globalName) |
void |
CacheCompiler.cacheMethod(BaseBodyCompiler method,
String methodName) |
void |
CacheCompiler.cacheMethod(BaseBodyCompiler method,
String methodName,
int receiverLocal) |
void |
CacheCompiler.cacheRegexp(BaseBodyCompiler method,
org.jruby.util.ByteList pattern,
int options) |
void |
CacheCompiler.cacheRubyEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
CacheCompiler.cacheSpecialClosure(BaseBodyCompiler method,
String closureMethod) |
int |
CacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope) |
void |
CacheCompiler.cacheString(BaseBodyCompiler method,
org.jruby.util.ByteList contents,
int codeRange) |
void |
CacheCompiler.cacheSymbol(BaseBodyCompiler method,
String symbol) |
void |
CacheCompiler.loadStaticScope(BaseBodyCompiler method,
int index) |
Modifier and Type | Class and Description |
---|---|
class |
ChainedChildBodyCompiler |
class |
ChainedChildBodyCompiler19 |
class |
ChainedRootBodyCompiler |
class |
ChildScopedBodyCompiler |
class |
ChildScopedBodyCompiler19 |
class |
ClassBodyCompiler |
class |
MethodBodyCompiler
MethodBodyCompiler is the base compiler for all method bodies.
|
class |
RootScopedBodyCompiler
Behaviors common to all "root-scoped" bodies are encapsulated in this class.
|
Modifier and Type | Field and Description |
---|---|
protected BaseBodyCompiler |
StandardInvocationCompiler.methodCompiler |
protected BaseBodyCompiler |
AbstractVariableCompiler.methodCompiler |
Modifier and Type | Method and Description |
---|---|
abstract BaseBodyCompiler |
BaseBodyCompiler.outline(String methodName) |
Modifier and Type | Method and Description |
---|---|
void |
InvokeDynamicCacheCompiler.cacheBigInteger(BaseBodyCompiler method,
BigInteger bigint)
Cache a BigInteger using invokedynamic.
|
void |
InheritedCacheCompiler.cacheBigInteger(BaseBodyCompiler method,
BigInteger bigint) |
void |
InvokeDynamicCacheCompiler.cacheBoolean(BaseBodyCompiler method,
boolean tru) |
void |
InheritedCacheCompiler.cacheBoolean(BaseBodyCompiler method,
boolean tru) |
void |
InvokeDynamicCacheCompiler.cacheByteList(BaseBodyCompiler method,
org.jruby.util.ByteList contents)
This doesn't get used, since it's only used from cacheRegexp in superclass,
and that is completely bound via invokedynamic now.
|
void |
InheritedCacheCompiler.cacheByteList(BaseBodyCompiler method,
org.jruby.util.ByteList contents) |
void |
InvokeDynamicCacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType)
Cache a CallSite object using invokedynamic.
|
void |
InheritedCacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType) |
int |
InvokeDynamicCacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
Cache a closure body (BlockBody) using invokedynamic.
|
int |
InheritedCacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
int |
InvokeDynamicCacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector)
Cache a closure body (BlockBody) for 1.9 mode using invokedynamic.
|
int |
InheritedCacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
void |
InvokeDynamicCacheCompiler.cacheConstant(BaseBodyCompiler method,
String constantName)
Cache a constant reference using invokedynamic.
|
void |
InheritedCacheCompiler.cacheConstant(BaseBodyCompiler method,
String constantName) |
void |
InvokeDynamicCacheCompiler.cacheConstantBoolean(BaseBodyCompiler method,
String constantName)
Cache a constant boolean using invokedynamic.
|
void |
InheritedCacheCompiler.cacheConstantBoolean(BaseBodyCompiler method,
String constantName) |
void |
InheritedCacheCompiler.cacheConstantDefined(BaseBodyCompiler method,
String constantName) |
void |
InheritedCacheCompiler.cacheConstantFrom(BaseBodyCompiler method,
String constantName) |
void |
InvokeDynamicCacheCompiler.cachedGetVariable(BaseBodyCompiler method,
String name) |
void |
InheritedCacheCompiler.cachedGetVariable(BaseBodyCompiler method,
String name) |
void |
InheritedCacheCompiler.cachedGetVariableDefined(BaseBodyCompiler method,
String name) |
void |
InheritedCacheCompiler.cacheDRegexp(BaseBodyCompiler method,
CompilerCallback createStringCallback,
int options) |
void |
InheritedCacheCompiler.cacheDRegexp19(BaseBodyCompiler method,
ArrayCallback arrayCallback,
Object[] sourceArray,
int options) |
void |
InvokeDynamicCacheCompiler.cachedSetVariable(BaseBodyCompiler method,
String name,
CompilerCallback valueCallback) |
void |
InheritedCacheCompiler.cachedSetVariable(BaseBodyCompiler method,
String name,
CompilerCallback valueCallback) |
int |
InheritedCacheCompiler.cacheEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
InvokeDynamicCacheCompiler.cacheFixnum(BaseBodyCompiler method,
long value)
Cache a Fixnum literal using invokedynamic.
|
void |
InheritedCacheCompiler.cacheFixnum(BaseBodyCompiler method,
long value) |
void |
InvokeDynamicCacheCompiler.cacheFloat(BaseBodyCompiler method,
double value)
Cache a Float literal using invokedynamic.
|
void |
InheritedCacheCompiler.cacheFloat(BaseBodyCompiler method,
double value) |
void |
InvokeDynamicCacheCompiler.cacheGlobal(BaseBodyCompiler method,
String globalName) |
void |
InheritedCacheCompiler.cacheGlobal(BaseBodyCompiler method,
String globalName) |
void |
InvokeDynamicCacheCompiler.cacheGlobalBoolean(BaseBodyCompiler method,
String globalName) |
void |
InheritedCacheCompiler.cacheGlobalBoolean(BaseBodyCompiler method,
String globalName) |
void |
InheritedCacheCompiler.cacheMethod(BaseBodyCompiler method,
String methodName) |
void |
InheritedCacheCompiler.cacheMethod(BaseBodyCompiler method,
String methodName,
int receiverLocal) |
void |
InvokeDynamicCacheCompiler.cacheRegexp(BaseBodyCompiler method,
org.jruby.util.ByteList pattern,
int options)
Cache a Regexp literal using invokedynamic.
|
void |
InheritedCacheCompiler.cacheRegexp(BaseBodyCompiler method,
org.jruby.util.ByteList pattern,
int options) |
void |
InvokeDynamicCacheCompiler.cacheRubyEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding)
Cache the __ENCODING__ keyword using invokedynamic.
|
void |
InheritedCacheCompiler.cacheRubyEncoding(BaseBodyCompiler method,
org.jcodings.Encoding encoding) |
void |
InheritedCacheCompiler.cacheSpecialClosure(BaseBodyCompiler method,
String closureMethod) |
int |
InvokeDynamicCacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope)
Cache a StaticScope using invokedynamic.
|
int |
InheritedCacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope) |
void |
InvokeDynamicCacheCompiler.cacheString(BaseBodyCompiler method,
org.jruby.util.ByteList contents,
int codeRange)
Cache a String literal using invokedynamic.
|
void |
InheritedCacheCompiler.cacheString(BaseBodyCompiler method,
org.jruby.util.ByteList contents,
int codeRange) |
void |
InvokeDynamicCacheCompiler.cacheSymbol(BaseBodyCompiler method,
String symbol)
Cache the symbol for the given string using invokedynamic.
|
void |
InheritedCacheCompiler.cacheSymbol(BaseBodyCompiler method,
String symbol) |
void |
InvokeDynamicCacheCompiler.loadStaticScope(BaseBodyCompiler method,
int index) |
void |
InheritedCacheCompiler.loadStaticScope(BaseBodyCompiler method,
int index) |
Constructor and Description |
---|
AbstractVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
HeapBasedVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
InvokeDynamicInvocationCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method) |
StackBasedVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
StandardInvocationCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method) |
Modifier and Type | Method and Description |
---|---|
static InvocationCompiler |
OptoFactory.newInvocationCompiler(BaseBodyCompiler bodyCompiler,
SkinnyMethodAdapter method) |
Copyright © 2001-2014 JRuby. All Rights Reserved.