Uses of Class
gnu.bytecode.Variable
Packages that use Variable
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class
files.Supports
Expression
,
and various related classes need to compile programming languages.Contains classes to use reflection.
-
Uses of Variable in gnu.bytecode
Methods in gnu.bytecode that return VariableModifier and TypeMethodDescriptionAdd a new local variable (in the current scope).Add a new local variable (in the current scope).Scope.addVariable
(CodeAttr code, Type type, String name) final Variable
Scope.firstVar()
CodeAttr.getArg
(int index) Get the index'th parameter.Scope.getVariable
(int index) Return a variable the scope, by numerical index.Search by name for a VariableSearch by name for a Variable in this Scope (only).final Variable
VarEnumerator.nextVar()
Return the next Variable in the Scope tree, or null if done.final Variable
Variable.nextVar()
Methods in gnu.bytecode with parameters of type VariableModifier and TypeMethodDescriptionvoid
Scope.addVariable
(CodeAttr code, Variable var) void
Scope.addVariable
(Variable var) void
Scope.addVariableAfter
(Variable prev, Variable var) void
Method.allocate_local
(Variable local) Deprecated.void
Method.compile_push_value
(Variable var) Deprecated.void
Method.compile_store_value
(Variable var) Deprecated.void
CodeAttr.emitCatchStart
(Variable var) void
Emit an instruction to increment a variable by some amount.final void
Compile code to push the contents of a local variable onto the statck.void
Emit a 'ret' instruction.void
void
CodeAttr.emitStoreDefaultValue
(Variable var) Initialize a variable to zero or null, as appropriate.void
CodeAttr.emitWithCleanupCatch
(Variable catchVar) Called after abody
that has acleanup
clause.void
Deprecated.Method parameters in gnu.bytecode with type arguments of type VariableModifier and TypeMethodDescriptionvoid
Scope.fixParamNames
(HashMap<String, Variable> map) Fix duplicate names. -
Uses of Variable in gnu.expr
Modifier and TypeMethodDescriptionfinal Variable
Declaration.allocateVariable
(CodeAttr code) final Variable
Declaration.allocateVariable
(CodeAttr code, boolean autoPopScope) LambdaExp.declareClosureEnv()
LambdaExp.declareThis
(ClassType clas) ConsumerTarget.getConsumerVariable()
Declaration.getVariable()
Modifier and TypeMethodDescriptionstatic void
CheckedTarget.emitCheckedCoerce
(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue) void
TypeValue.emitIsInstance
(Variable incoming, Compilation comp, Target target) Emit code for incoming instanceof this_type.void
TypeValue.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) Emit code for if (incoming instanceof this_type) decl = incoming ....ModifierConstructorDescriptionConsumerTarget
(Variable consumer) ConsumerTarget
(Variable consumer, Type type) Declaration
(Variable var) -
Uses of Variable in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr with parameters of type VariableModifier and TypeMethodDescriptionvoid
GenArrayType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
LangObjType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
LangPrimType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
GenArrayType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) void
LangObjType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) void
LangPrimType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) static void
LangPrimType.emitTestIfNumber
(Variable incoming, Declaration decl, Type type, Compilation comp) -
Uses of Variable in gnu.kawa.reflect
Methods in gnu.kawa.reflect with parameters of type VariableModifier and TypeMethodDescriptionstatic void
InstanceOf.emitIsInstance
(TypeValue type, Variable incoming, Compilation comp, Target target) void
MappedArrayType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
OccurrenceType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
MappedArrayType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) void
OccurrenceType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) -
Uses of Variable in gnu.kawa.xml
Methods in gnu.kawa.xml with parameters of type VariableModifier and TypeMethodDescriptionprotected void
AttributeType.emitCoerceOrNullMethod
(Variable incoming, Compilation comp) protected void
ElementType.emitCoerceOrNullMethod
(Variable incoming, Compilation comp) protected void
NodeType.emitCoerceOrNullMethod
(Variable incoming, Compilation comp) protected void
ProcessingInstructionType.emitCoerceOrNullMethod
(Variable incoming, Compilation comp) void
NodeType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
XDataType.emitIsInstance
(Variable incoming, Compilation comp, Target target) void
NodeType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp) void
XDataType.emitTestIf
(Variable incoming, Declaration decl, Compilation comp)