Modifier and Type | Field and Description |
---|---|
private int | |
private int | |
private double | |
private Template |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public int | |
public double | |
public abstract StepPattern | |
public final double | getPriority()
Implements abstract com. |
public Template | getTemplate()
Overrides com. |
public abstract boolean | |
public boolean | noSmallerThan(LocationPathPattern other)
This method is used by the Mode class to prioritise patterns and template. |
public abstract void | |
public void | |
public String | toString()
Implements abstract com. |
public void | translate(ClassGenerator
BCEL Java class generator classGen, MethodGenerator BCEL Java method generator methodGen)Implements abstract com. |
public Type | typeCheck(SymbolTable
The compiler/parser's symbol table stable)Implements abstract com. NodeType .
|
_importPrecedence | back to summary |
---|---|
private int _importPrecedence |
_position | back to summary |
---|---|
private int _position |
_priority | back to summary |
---|---|
private double _priority |
_template | back to summary |
---|---|
private Template _template Hides com. |
LocationPathPattern | back to summary |
---|---|
public LocationPathPattern() |
getAxis | back to summary |
---|---|
public int getAxis() |
getDefaultPriority | back to summary |
---|---|
public double getDefaultPriority() |
getKernelPattern | back to summary |
---|---|
public abstract StepPattern getKernelPattern() |
getPriority | back to summary |
---|---|
public final double getPriority() Implements abstract com. Doc from com. Returns the priority of this pattern (section 5.5 in the XSLT spec). |
getTemplate | back to summary |
---|---|
public Template getTemplate() Overrides com. Doc from com. Get the Template node that represents the <xsl:template/> element that this node occured under. Note that this method will return 'null' for nodes that represent top-level elements.
|
isWildcard | back to summary |
---|---|
public abstract boolean isWildcard() |
noSmallerThan | back to summary |
---|---|
public boolean noSmallerThan(LocationPathPattern other) This method is used by the Mode class to prioritise patterns and template. This method is called for templates that are in the same mode and that match on the same core pattern. The rules used are: o) first check precedence - highest precedence wins o) then check priority - highest priority wins o) then check the position - the template that occured last wins |
reduceKernelPattern | back to summary |
---|---|
public abstract void reduceKernelPattern() |
setTemplate | back to summary |
---|---|
public void setTemplate(final Template template) |
toString | back to summary |
---|---|
public String toString() Implements abstract com. Doc from java. Returns a string representation of the object.
|
translate | back to summary |
---|---|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) Implements abstract com. Doc from com. Translate this node into JVM bytecodes. Patterns are translated as
boolean expressions with true/false lists. Before calling
|
typeCheck | back to summary |
---|---|
public Type typeCheck(SymbolTable stable) throws TypeCheckError Implements abstract com. Doc from com. Returns the type of a pattern, which is always a
|