Top Fields Constructors Methods
org.jruby.ir.targets.simple

public Class ConstantLookupSite

extends Object
Class Inheritance
Imports
org.jruby.Ruby, .RubyModule, .RubySymbol, org.jruby.ir.operands.UndefinedValue, org.jruby.parser.StaticScope, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.opto.ConstantCache, .Invalidator

Field Summary

Modifier and TypeField and Description
private ConstantCache
private final String
private final RubySymbol

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private IRubyObject
private IRubyObject
private IRubyObject
cacheSearchConst(ThreadContext context, StaticScope staticScope, boolean publicOnly)

private IRubyObject
cacheSearchModuleForConst(ThreadContext context, RubyModule module, boolean publicOnly)

public IRubyObject
public IRubyObject
public IRubyObject
searchConst(ThreadContext context, StaticScope currScope, boolean publicOnly)

public IRubyObject
searchModuleForConst(ThreadContext context, IRubyObject cmVal, boolean publicOnly, boolean callConstMissing)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheback to summary
private ConstantCache cache
idback to summary
private final String id
nameback to summary
private final RubySymbol name

Constructor Detail

ConstantLookupSiteback to summary
public ConstantLookupSite(RubySymbol name)

Method Detail

cacheInheritanceSearchConstback to summary
private IRubyObject cacheInheritanceSearchConst(ThreadContext context, RubyModule module)
cacheLexicalSearchConstback to summary
private IRubyObject cacheLexicalSearchConst(ThreadContext context, StaticScope staticScope)
cacheSearchConstback to summary
private IRubyObject cacheSearchConst(ThreadContext context, StaticScope staticScope, boolean publicOnly)
cacheSearchModuleForConstback to summary
private IRubyObject cacheSearchModuleForConst(ThreadContext context, RubyModule module, boolean publicOnly)
inheritanceSearchConstback to summary
public IRubyObject inheritanceSearchConst(ThreadContext context, IRubyObject cmVal)
lexicalSearchConstback to summary
public IRubyObject lexicalSearchConst(ThreadContext context, StaticScope staticScope)
searchConstback to summary
public IRubyObject searchConst(ThreadContext context, StaticScope currScope, boolean publicOnly)
searchModuleForConstback to summary
public IRubyObject searchModuleForConst(ThreadContext context, IRubyObject cmVal, boolean publicOnly, boolean callConstMissing)