Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class CmpExpr



public class CmpExpr
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.BinExpr
The comparison of expression operator takes the value of its left operand and compares (dependant on type) against its right operand, according to the rules of the particular comparison rule

Field Summary

public static intEQ
     Set internal value for EQ operation.
public static intEQUALS
     Set internal value for EQUALS operation.
public static intGE
     Set internal value for GE operation.
public static intGREATER
     Set internal value for GREATER operation.
public static intGREATER_GREATER
     Set internal value for GREATER_GREATER operation.
public static intGREATEREQUAL
     Set internal value for GREATEREQUAL operation.
public static intGT
     Set internal value for GT operation.
public static intIS
     Set internal value for IS operation.
public static intLE
     Set internal value for LE operation.
public static intLESS_LESS
     Set internal value for LESS_LESS operation.
public static intLESSEQUAL
     Set internal value for LESSEQUAL operation.
public static intLESSTHAN
     Set internal value for LESSTHAN operation.
public static intLT
     Set internal value for LT operation.
public static intNE
     Set internal value for NE operation.
public static intNOTEQUALS
     Set internal value for NOTEQUALS operation.

Constructor Summary

CmpExpr(org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr l , org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr r , int type)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public inttype()
    

Field Detail

EQ

public static int EQ

Set internal value for EQ operation.

EQUALS

public static int EQUALS

Set internal value for EQUALS operation.

GE

public static int GE

Set internal value for GE operation.

GREATER

public static int GREATER

Set internal value for GREATER operation.

GREATER_GREATER

public static int GREATER_GREATER

Set internal value for GREATER_GREATER operation.

GREATEREQUAL

public static int GREATEREQUAL

Set internal value for GREATEREQUAL operation.

GT

public static int GT

Set internal value for GT operation.

IS

public static int IS

Set internal value for IS operation.

LE

public static int LE

Set internal value for LE operation.

LESS_LESS

public static int LESS_LESS

Set internal value for LESS_LESS operation.

LESSEQUAL

public static int LESSEQUAL

Set internal value for LESSEQUAL operation.

LESSTHAN

public static int LESSTHAN

Set internal value for LESSTHAN operation.

LT

public static int LT

Set internal value for LT operation.

NE

public static int NE

Set internal value for NE operation.

NOTEQUALS

public static int NOTEQUALS

Set internal value for NOTEQUALS operation.

Constructor Detail

CmpExpr

public CmpExpr(org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr l , org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr r , int type)

Constructor for CmpExpr


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


type

public int type()

Returns

int - comparison type