org.apache.xalan.xsltc.compiler.util
public class MethodGenerator extends MethodGen implements Constants
Constructor Summary | |
---|---|
MethodGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cpg) |
Method Summary | |
---|---|
void | addInstructionList(Pattern pattern, InstructionList ilist)
Add a pre-compiled pattern to this mode. |
LocalVariableGen | addLocalVariable(String name, Type type, InstructionHandle start, InstructionHandle end)
Allocates a local variable. |
LocalVariableGen | addLocalVariable2(String name, Type type, InstructionHandle start) |
Instruction | attribute() |
Instruction | endDocument() |
Instruction | endElement() |
InstructionList | getInstructionList(Pattern pattern)
Get the instruction list for a pre-compiled pattern. |
int | getLocalIndex(String name) |
LocalVariableGen | getLocalVariable(String name) |
Instruction | loadContextNode() by default context node is the same as current node. |
Instruction | loadCurrentNode() |
Instruction | loadDOM() |
Instruction | loadHandler() |
Instruction | loadIterator() |
Instruction | namespace() |
Instruction | nextNode() |
void | removeLocalVariable(LocalVariableGen lvg) |
Instruction | reset() |
void | setMaxLocals() |
Instruction | setStartNode() |
Instruction | startDocument() |
Instruction | startElement() |
Instruction | storeContextNode() |
Instruction | storeCurrentNode() |
Instruction | storeDOM() |
Instruction | storeHandler() |
Instruction | storeIterator() |
Instruction | uniqueAttribute() |