org.apache.xalan.xsltc.compiler
Class LocationPathPattern
java.lang.Object
|
+--org.apache.xalan.xsltc.compiler.SyntaxTreeNode
|
+--org.apache.xalan.xsltc.compiler.Expression
|
+--org.apache.xalan.xsltc.compiler.Pattern
|
+--org.apache.xalan.xsltc.compiler.LocationPathPattern
- public abstract class LocationPathPattern
- extends Pattern
Methods inherited from class org.apache.xalan.xsltc.compiler.Expression |
backPatchFalseList,
backPatchTrueList,
compile,
desynthesize,
evaluateAtCompileTime,
getFalseList,
getTrueList,
getType,
hasLastCall,
hasPositionCall,
lookupPrimop,
startIterator,
synthesize,
translateDesynthesized |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
LocationPathPattern
public LocationPathPattern()
typeCheck
public Type typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
throws TypeCheckError
- Overrides:
- typeCheck in class Pattern
translate
public void translate(ClassGenerator classGen,
MethodGenerator methodGen)
- Overrides:
- translate in class Pattern
setTemplate
public void setTemplate(Template template)
getTemplate
public Template getTemplate()
getPriority
public final double getPriority()
- Overrides:
- getPriority in class Pattern
getDefaultPriority
public double getDefaultPriority()
noSmallerThan
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
getKernelPattern
public abstract org.apache.xalan.xsltc.compiler.StepPattern getKernelPattern()
reduceKernelPattern
public abstract void reduceKernelPattern()
isWildcard
public abstract boolean isWildcard()
getAxis
public int getAxis()
toString
public java.lang.String toString()
- Overrides:
- toString in class org.apache.xalan.xsltc.compiler.Expression
Copyright © 2006 Apache XML Project. All Rights Reserved.