Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Pattern | |
public double | getPriority()
Implements abstract com. |
public Pattern | |
public void | setParser(Parser
The XSLT parser. parser)Overrides com. |
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. |
_left | back to summary |
---|---|
private final Pattern _left |
_right | back to summary |
---|---|
private final Pattern _right |
AlternativePattern | back to summary |
---|---|
public AlternativePattern(Pattern left, Pattern right) Construct an alternative pattern. The method |
getLeft | back to summary |
---|---|
public Pattern getLeft() |
getPriority | back to summary |
---|---|
public double getPriority() Implements abstract com. Doc from com. Returns the priority of this pattern (section 5.5 in the XSLT spec). |
getRight | back to summary |
---|---|
public Pattern getRight() |
setParser | back to summary |
---|---|
public void setParser(Parser parser) Overrides com. Doc from com. Set this node's parser. The parser (the XSLT parser) gives this syntax tree node access to the symbol table and XPath parser.
|
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. The type of an '|' is not really defined, hence null is returned.
|