APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler.util

public final Class MatchGenerator

extends MethodGenerator
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ALOAD, .ConstantPoolGen, .ILOAD, .ISTORE, .Instruction, .InstructionList, .Type

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
private Instruction
private final Instruction
private final Instruction
private int
private static int
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator:
INVALID_INDEX

Constructor Summary

AccessConstructor and Description
public
MatchGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)

Method Summary

Modifier and TypeMethod and Description
public int
public int
getIteratorIndex()

Get index of the register where the current iterator is stored.

public int
public Instruction
public Instruction
loadDOM()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.loadDOM.

Get index of the register where the DOM is stored.

public void
setDomIndex(int domIndex)

Set index where the reference to the DOM is stored.

public void
setIteratorIndex(int iteratorIndex)

Set index of the register where the current iterator is stored.

public Instruction
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator:
addInstructionListaddLocalVariableaddLocalVariable2attributeendDocumentendElementgetGeneratedMethodsgetInstructionListgetLocalVariablegetThisMethodloadContextNodeloadHandlerloadIteratormarkChunkEndmarkChunkStartnamespacenextNodeoffsetInLocalVariableGenRangeoutlineChunksremoveLocalVariableresetsetMaxLocalssetStartNodestartDocumentstartElementstoreContextNodestoreDOMstoreHandlerstoreIteratoruniqueAttributewidenConditionalBranchTargetOffsets

Field Detail

_aloadDomback to summary
private Instruction _aloadDom

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator._aloadDom.

_iloadCurrentback to summary
private final Instruction _iloadCurrent

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator._iloadCurrent.

_istoreCurrentback to summary
private final Instruction _istoreCurrent

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator._istoreCurrent.

_iteratorIndexback to summary
private int _iteratorIndex
CURRENT_INDEXback to summary
private static int CURRENT_INDEX

Constructor Detail

MatchGeneratorback to summary
public MatchGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)

Method Detail

getHandlerIndexback to summary
public int getHandlerIndex()
getIteratorIndexback to summary
public int getIteratorIndex()

Get index of the register where the current iterator is stored.

getLocalIndexback to summary
public int getLocalIndex(String name)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.getLocalIndex.

loadCurrentNodeback to summary
public Instruction loadCurrentNode()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.loadCurrentNode.

loadDOMback to summary
public Instruction loadDOM()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.loadDOM.

Get index of the register where the DOM is stored.

setDomIndexback to summary
public void setDomIndex(int domIndex)

Set index where the reference to the DOM is stored.

setIteratorIndexback to summary
public void setIteratorIndex(int iteratorIndex)

Set index of the register where the current iterator is stored.

storeCurrentNodeback to summary
public Instruction storeCurrentNode()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.storeCurrentNode.