public final class Relop extends LogicValuedExpr
| Modifier and Type | Field and Description |
|---|---|
static int |
EQ
=.
|
static int |
GT
>.
|
static int |
GTEQ
>=.
|
static int |
LIKE
LIKE.
|
static int |
LS
<.
|
static int |
LSEQ
<=.
|
static int |
NTEQ
<>.
|
| Constructor and Description |
|---|
Relop(Expr left,
Expr right,
int relop) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExprVisitor visitor)
Accepts a visitor during a traversal of the parse tree for solving tasks of
types validation, code generation etc.
|
List<Expr> |
getAllOperands() |
Expr |
getLeft()
Returns the left part.
|
int |
getRelop()
Returns the relation.
|
Expr |
getRight()
Returns the right part.
|
getMetagetCSQL, getSQL, resolveFieldRefspublic static final int GT
public static final int LS
public static final int GTEQ
public static final int LSEQ
public static final int NTEQ
public static final int EQ
public static final int LIKE
public Expr getLeft()
public Expr getRight()
public int getRelop()
public List<Expr> getAllOperands()
getAllOperands in class LogicValuedExprpublic void accept(ExprVisitor visitor) throws ParseException
Exprvisitor - universal visitor element performing tasks with the parse tree.ParseException - semantic error during the tree traversalCopyright © 2020 CURS. All rights reserved.