APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv final Class RelationalExpr

extends Expression
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.BranchInstruction, .ConstantPoolGen, .INVOKESTATIC, .InstructionList, .PUSH, com.sun.org.apache.xalan.internal.xsltc.compiler.util.BooleanType, .ClassGenerator, .ErrorMsg, .IntType, .MethodGenerator, .MethodType, .NodeSetType, .NodeType, .RealType, .ReferenceType, .ResultTreeType, .Type, .TypeCheckError, com.sun.org.apache.xalan.internal.xsltc.runtime.Operators

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
private Expression
private int
private Expression
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression:
_falseList_trueList_type

Constructor Summary

AccessConstructor and Description
public
RelationalExpr(int op, Expression left, Expression right)

Method Summary

Modifier and TypeMethod and Description
public boolean
hasLastCall()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.hasLastCall.

Returns true if this expressions contains a call to last()

public boolean
public boolean
public boolean
hasPositionCall()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.hasPositionCall.

Returns true if this expressions contains a call to position().

public boolean
public void
public String
toString()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.toString.

Returns a string representation of the object.

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translate.

Translate this node into JVM bytecodes.

public void
translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translateDesynthesized.

Redefined by expressions of type boolean that use flow lists.

public Type
typeCheck(SymbolTable stable)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.typeCheck.

Type check all the children of this node.

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression:
backPatchFalseListbackPatchTrueListcompiledesynthesizeevaluateAtCompileTimegetFalseListgetTrueListgetTypelookupPrimopstartIteratorsynthesize

Field Detail

_leftback to summary
private Expression _left
_opback to summary
private int _op
_rightback to summary
private Expression _right

Constructor Detail

RelationalExprback to summary
public RelationalExpr(int op, Expression left, Expression right)

Method Detail

hasLastCallback to summary
public boolean hasLastCall()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.hasLastCall.

Returns true if this expressions contains a call to last()

hasNodeArgsback to summary
public boolean hasNodeArgs()
hasNodeSetArgsback to summary
public boolean hasNodeSetArgs()
hasPositionCallback to summary
public boolean hasPositionCall()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.hasPositionCall.

Returns true if this expressions contains a call to position(). This is needed for context changes in node steps containing multiple predicates.

hasReferenceArgsback to summary
public boolean hasReferenceArgs()
setParserback to summary
public void setParser(Parser parser)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.setParser.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.setParser.

Set this node's parser. The parser (the XSLT parser) gives this syntax tree node access to the symbol table and XPath parser.

toStringback to summary
public String toString()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

translateback to summary
public void translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translate.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translate.

Translate this node into JVM bytecodes.

translateDesynthesizedback to summary
public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translateDesynthesized.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translateDesynthesized.

Redefined by expressions of type boolean that use flow lists.

typeCheckback to summary
public Type typeCheck(SymbolTable stable) throws TypeCheckError

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.typeCheck.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.typeCheck.

Type check all the children of this node.