public interface ConstantCompiler
| Modifier and Type | Method and Description |
|---|---|
void |
inheritanceSearchConst(java.lang.String id,
ByteList name)
Lookup a constant from a given class or module.
|
void |
lexicalSearchConst(java.lang.String id,
ByteList name)
Lookup a constant from a lexical scope.
|
void |
searchConst(java.lang.String id,
ByteList name,
boolean noPrivateConsts)
Lookup a constant from current context.
|
void |
searchModuleForConst(java.lang.String id,
ByteList name,
boolean noPrivateConsts,
boolean callConstMissing)
Lookup a constant from current module.
|
void searchConst(java.lang.String id,
ByteList name,
boolean noPrivateConsts)
Stack required: context, static scope
id - the "ID string" of the constant namename - name of the constantnoPrivateConsts - whether to ignore private constantsvoid searchModuleForConst(java.lang.String id,
ByteList name,
boolean noPrivateConsts,
boolean callConstMissing)
Stack required: context, module
id - the "ID string" of the constant namename - name of the constantnoPrivateConsts - whether to ignore private constantsvoid inheritanceSearchConst(java.lang.String id,
ByteList name)
Stack required: context, module
id - the "ID string" of the constant namename - name of the constantvoid lexicalSearchConst(java.lang.String id,
ByteList name)
Stack required: context, static scope
id - the "ID string" of the constant namename - name of the constantCopyright © 2001-2022 JRuby. All Rights Reserved.