Modifier and Type | Field and Description |
---|---|
private boolean | |
private Expression |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | display(int
Indentation level for syntax tree levels. indent)Overrides com. |
public Expression | |
public boolean | |
public void | parseContents(Parser
reference to the XSLT parser parser)Overrides com. |
public void | translate(ClassGenerator
BCEL Java class generator classGen, MethodGenerator BCEL Java method generator methodGen)Overrides com. |
public Type | typeCheck(SymbolTable
The compiler/parser's symbol table stable)Overrides com. |
_ignore | back to summary |
---|---|
private boolean _ignore |
_test | back to summary |
---|---|
private Expression _test |
When | back to summary |
---|---|
pack-priv When() |
display | back to summary |
---|---|
public void display(int indent) Overrides com. Doc from com. Displays the contents of this syntax tree node (to stdout). This method is intended for debugging _only_, and should be overridden by all syntax tree node implementations.
|
getTest | back to summary |
---|---|
public Expression getTest() |
ignore | back to summary |
---|---|
public boolean ignore() |
parseContents | back to summary |
---|---|
public void parseContents(Parser parser) Overrides com. Doc from com. Parse the contents of this syntax tree nodes (child nodes, XPath expressions, patterns and functions). The default behaviour is to parser the syntax tree node's children (since there are no common expressions, patterns, etc. that can be handled in this base class.
|
translate | back to summary |
---|---|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. This method should never be called. An Otherwise object will explicitly translate the "test" expression and and contents of this element.
|
typeCheck | back to summary |
---|---|
public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Type-check this when element. The test should always be type checked, while we do not bother with the contents if we know the test fails. This is important in cases where the "test" expression tests for the support of a non-available element, and the <xsl:when> body contains this non-available element.
|