Package org.jruby.ir.targets.simple
Class ConstantLookupSite
java.lang.Object
org.jruby.ir.targets.simple.ConstantLookupSite
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ConstantCacheprivate final Stringprivate final RubySymbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IRubyObjectcacheInheritanceSearchConst(Ruby runtime, RubyModule module) private IRubyObjectcacheLexicalSearchConst(ThreadContext context, StaticScope staticScope) private IRubyObjectcacheSearchConst(ThreadContext context, StaticScope staticScope, boolean publicOnly) private IRubyObjectcacheSearchModuleForConst(Ruby runtime, RubyModule module, boolean publicOnly) inheritanceSearchConst(ThreadContext context, IRubyObject cmVal) lexicalSearchConst(ThreadContext context, StaticScope staticScope) searchConst(ThreadContext context, StaticScope currScope, boolean publicOnly) searchModuleForConst(ThreadContext context, IRubyObject cmVal, boolean publicOnly, boolean callConstMissing)
-
Field Details
-
name
-
id
-
cache
-
-
Constructor Details
-
ConstantLookupSite
-
-
Method Details
-
cacheSearchConst
private IRubyObject cacheSearchConst(ThreadContext context, StaticScope staticScope, boolean publicOnly) -
searchConst
-
cacheLexicalSearchConst
-
lexicalSearchConst
-
cacheInheritanceSearchConst
-
inheritanceSearchConst
-
cacheSearchModuleForConst
-
searchModuleForConst
public IRubyObject searchModuleForConst(ThreadContext context, IRubyObject cmVal, boolean publicOnly, boolean callConstMissing)
-