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


Fields inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode
Dummy
 
Constructor Summary
LocationPathPattern()
           
 
Method Summary
 double getDefaultPriority()
           
abstract  org.apache.xalan.xsltc.compiler.StepPattern getKernelPattern()
          return last pattern (matching the current node)
 double getPriority()
           
 Template getTemplate()
           
abstract  boolean isWildcard()
           
 boolean noSmallerThan(LocationPathPattern other)
           
abstract  void reduceKernelPattern()
           
 void setTemplate(Template template)
           
 java.lang.String toString()
           
 void translate(ClassGenerator classGen, MethodGenerator methodGen)
           
 Type typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
           
 
Methods inherited from class org.apache.xalan.xsltc.compiler.Expression
backPatchFalseList, backPatchTrueList, compile, desynthesize, getType, lookupPrimop, startResetIterator, synthesize, translateDesynthesized
 
Methods inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode
addElement, addParam, contextDependent, dependentContents, display, elementAt, elementCount, elements, getContents, getImportPrecedence, getLineNumber, getParent, getParser, getXSLTC, hasContents, hasParams, isDummy, parseChildren, parseContents, removeElement, setParser, translateContents, typeCheckContents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationPathPattern

public LocationPathPattern()
Method Detail

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)

getKernelPattern

public abstract org.apache.xalan.xsltc.compiler.StepPattern getKernelPattern()
return last pattern (matching the current node)

reduceKernelPattern

public abstract void reduceKernelPattern()

isWildcard

public abstract boolean isWildcard()

toString

public java.lang.String toString()
Overrides:
toString in class org.apache.xalan.xsltc.compiler.Expression


Copyright © 2000 Apache XML Project. All Rights Reserved.