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 VariableScope.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 VariableVarEnumerator.nextVar()Return the next Variable in the Scope tree, or null if done.final VariableVariable.nextVar()Methods in gnu.bytecode with parameters of type VariableModifier and TypeMethodDescriptionvoidScope.addVariable(CodeAttr code, Variable var) voidScope.addVariable(Variable var) voidScope.addVariableAfter(Variable prev, Variable var) voidMethod.allocate_local(Variable local) Deprecated.voidMethod.compile_push_value(Variable var) Deprecated.voidMethod.compile_store_value(Variable var) Deprecated.voidCodeAttr.emitCatchStart(Variable var) voidEmit an instruction to increment a variable by some amount.final voidCompile code to push the contents of a local variable onto the statck.voidEmit a 'ret' instruction.voidvoidCodeAttr.emitStoreDefaultValue(Variable var) Initialize a variable to zero or null, as appropriate.voidCodeAttr.emitWithCleanupCatch(Variable catchVar) Called after abodythat has acleanupclause.voidDeprecated.Method parameters in gnu.bytecode with type arguments of type VariableModifier and TypeMethodDescriptionvoidScope.fixParamNames(HashMap<String, Variable> map) Fix duplicate names. -
Uses of Variable in gnu.expr
Modifier and TypeMethodDescriptionfinal VariableDeclaration.allocateVariable(CodeAttr code) final VariableDeclaration.allocateVariable(CodeAttr code, boolean autoPopScope) LambdaExp.declareClosureEnv()LambdaExp.declareThis(ClassType clas) ConsumerTarget.getConsumerVariable()Declaration.getVariable()Modifier and TypeMethodDescriptionstatic voidCheckedTarget.emitCheckedCoerce(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue) voidTypeValue.emitIsInstance(Variable incoming, Compilation comp, Target target) Emit code for incoming instanceof this_type.voidTypeValue.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 TypeMethodDescriptionvoidGenArrayType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidLangObjType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidLangPrimType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidGenArrayType.emitTestIf(Variable incoming, Declaration decl, Compilation comp) voidLangObjType.emitTestIf(Variable incoming, Declaration decl, Compilation comp) voidLangPrimType.emitTestIf(Variable incoming, Declaration decl, Compilation comp) static voidLangPrimType.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 voidInstanceOf.emitIsInstance(TypeValue type, Variable incoming, Compilation comp, Target target) voidMappedArrayType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidOccurrenceType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidMappedArrayType.emitTestIf(Variable incoming, Declaration decl, Compilation comp) voidOccurrenceType.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 voidAttributeType.emitCoerceOrNullMethod(Variable incoming, Compilation comp) protected voidElementType.emitCoerceOrNullMethod(Variable incoming, Compilation comp) protected voidNodeType.emitCoerceOrNullMethod(Variable incoming, Compilation comp) protected voidProcessingInstructionType.emitCoerceOrNullMethod(Variable incoming, Compilation comp) voidNodeType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidXDataType.emitIsInstance(Variable incoming, Compilation comp, Target target) voidNodeType.emitTestIf(Variable incoming, Declaration decl, Compilation comp) voidXDataType.emitTestIf(Variable incoming, Declaration decl, Compilation comp)