|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CodeAttr | |
---|---|
gnu.bytecode |
Contains classes to generate, read,
write, and print Java bytecode in the form of .class files. |
gnu.commonlisp.lang | |
gnu.expr | Supports Expression ,
and various related classes need to compile programming languages. |
gnu.kawa.lispexpr | |
gnu.kawa.reflect | Contains classes to use reflection. |
gnu.kawa.xml |
Uses of CodeAttr in gnu.bytecode |
---|
Methods in gnu.bytecode that return CodeAttr | |
---|---|
CodeAttr |
Method.getCode()
|
CodeAttr |
Method.startCode()
Recommended method to create a new CodeAttr for this Method. |
Methods in gnu.bytecode with parameters of type CodeAttr | |
---|---|
boolean |
SwitchState.addCase(int value,
CodeAttr code)
Add a new case. |
boolean |
SwitchState.addCaseGoto(int value,
CodeAttr code,
Label label)
Optimization of addCase(value, code); emitGoto(label) . |
void |
SwitchState.addDefault(CodeAttr code)
|
Variable |
Scope.addVariable(CodeAttr code,
Type type,
java.lang.String name)
|
void |
Scope.addVariable(CodeAttr code,
Variable var)
|
void |
Variable.allocateLocal(CodeAttr code)
Allocate slots for a local variable (or parameter). |
void |
Label.define(CodeAttr code)
Define the value of a label as having the current location. |
void |
Label.defineRaw(CodeAttr code)
Define the value of a label as having the current location. |
void |
ObjectType.emitCoerceFromObject(CodeAttr code)
Compile (in given method) cast from Object to this Type. |
void |
PrimType.emitCoerceFromObject(CodeAttr code)
|
void |
Type.emitCoerceFromObject(CodeAttr code)
Compile code to coerce/convert from Object to this type. |
void |
PrimType.emitCoerceToObject(CodeAttr code)
|
void |
Type.emitCoerceToObject(CodeAttr code)
Compile code to convert a object of this type on the stack to Object. |
void |
Type.emitConvertFromPrimitive(Type stackType,
CodeAttr code)
Convert from stackType (usually PrimType) to this type. |
void |
PrimType.emitIsInstance(CodeAttr code)
|
void |
Type.emitIsInstance(CodeAttr code)
|
void |
StackMapTableAttr.emitStackMapEntry(Label label,
CodeAttr code)
Emit type state for the given Label. |
void |
SwitchState.exitSwitch(CodeAttr code)
Break/exit from this switch. |
void |
SwitchState.finish(CodeAttr code)
Handle the end of the switch statement. |
void |
Variable.freeLocal(CodeAttr code)
|
boolean |
SwitchState.insertCase(int value,
Label label,
CodeAttr code)
Internal routine to add a new case. |
void |
Scope.noteStartFunction(CodeAttr code)
Should be called at the start of a logical function - inlined or not. |
boolean |
Variable.reserveLocal(int varIndex,
CodeAttr code)
Assign a local variable to a given local variable slot. |
void |
Scope.setStartPC(CodeAttr code)
|
void |
Label.setTypes(CodeAttr code)
|
void |
SwitchState.switchValuePushed(CodeAttr code)
Needs to be called after the switch value has been pushed. |
Constructors in gnu.bytecode with parameters of type CodeAttr | |
---|---|
IfState(CodeAttr code)
|
|
IfState(CodeAttr code,
Label endLabel)
|
|
Label(CodeAttr code)
|
|
LineNumbersAttr(CodeAttr code)
Add a new LineNumbersAttr to a CodeAttr. |
|
LineNumbersAttr(short[] numbers,
CodeAttr code)
|
|
LocalVarsAttr(CodeAttr code)
Add a new LocalVarsAttr to a CodeAttr. |
|
StackMapTableAttr(byte[] data,
CodeAttr code)
Add a new StackMapTableAttr to a CodeAttr. |
|
SwitchState(CodeAttr code)
|
|
TryState(CodeAttr code)
|
Uses of CodeAttr in gnu.commonlisp.lang |
---|
Methods in gnu.commonlisp.lang with parameters of type CodeAttr | |
---|---|
void |
Lisp2.emitPushBoolean(boolean value,
CodeAttr code)
|
Uses of CodeAttr in gnu.expr |
---|
Methods in gnu.expr that return CodeAttr | |
---|---|
CodeAttr |
Compilation.getCode()
|
Methods in gnu.expr with parameters of type CodeAttr | |
---|---|
Variable |
Declaration.allocateVariable(CodeAttr code)
|
void |
Language.emitCoerceToBoolean(CodeAttr code)
Generate code to test if an object is considered true. |
void |
ConditionalTarget.emitGotoFirstBranch(CodeAttr code)
Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst. |
void |
Language.emitPushBoolean(boolean value,
CodeAttr code)
|
void |
ScopeExp.popScope(CodeAttr code)
Clear bytecode resources for the ScopeExp. |
Uses of CodeAttr in gnu.kawa.lispexpr |
---|
Methods in gnu.kawa.lispexpr with parameters of type CodeAttr | |
---|---|
void |
LangObjType.emitCoerceFromObject(CodeAttr code)
|
void |
LangPrimType.emitCoerceFromObject(CodeAttr code)
|
void |
LangPrimType.emitCoerceToObject(CodeAttr code)
|
void |
LangObjType.emitConvertFromPrimitive(Type stackType,
CodeAttr code)
|
void |
LangPrimType.emitIsInstance(CodeAttr code)
|
Uses of CodeAttr in gnu.kawa.reflect |
---|
Methods in gnu.kawa.reflect with parameters of type CodeAttr | |
---|---|
void |
SingletonType.emitCoerceFromObject(CodeAttr code)
|
Uses of CodeAttr in gnu.kawa.xml |
---|
Methods in gnu.kawa.xml with parameters of type CodeAttr | |
---|---|
void |
NodeType.emitCoerceFromObject(CodeAttr code)
|
void |
ProcessingInstructionType.emitCoerceFromObject(CodeAttr code)
|
void |
XDataType.emitCoerceFromObject(CodeAttr code)
|
void |
ElementType.emitCoerceFromObject(CodeAttr code)
|
void |
AttributeType.emitCoerceFromObject(CodeAttr code)
|
void |
XDataType.emitCoerceToObject(CodeAttr code)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |