public static final class Term.ConstI extends Term.Const
6325 or 054 (octal)
or 0x49AF (hex).Term.Add, Term.AndB, Term.AndI, Term.Assign, Term.Binary, Term.BinaryB, Term.BinaryI, Term.BinaryN, Term.Call, Term.Cond, Term.Const, Term.ConstB, Term.ConstD, Term.ConstI, Term.ConstS, Term.Div, Term.EqB, Term.EqD, Term.EqI, Term.GeD, Term.GeI, Term.GtD, Term.GtI, Term.LeD, Term.LeI, Term.LtD, Term.LtI, Term.Mod, Term.Mul, Term.Neg, Term.NEqB, Term.NEqD, Term.NEqI, Term.NotB, Term.NotI, Term.Op, Term.OrB, Term.OrI, Term.Ref, Term.Sub, Term.Unary, Term.UnaryB, Term.UnaryI, Term.UnaryN, Term.XOrI| Modifier and Type | Field and Description |
|---|---|
static Term.ConstI |
ONE |
static Term.ConstI |
TWO |
static Term.ConstI |
ZERO |
| Constructor and Description |
|---|
ConstI(int value) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(TermVisitor<T> visitor)
Visitor support.
|
int |
getRetType()
Gets the term's "natural" return type.
|
int |
getValue() |
static Term.ConstI |
lookup(int value) |
protected boolean |
toB() |
protected double |
toD() |
protected int |
toI() |
protected String |
toS() |
String |
toString()
Returns a string representation of this term which
can be used for debugging.
|
compare, evalB, evalD, evalI, evalS, isConst, prepublic static final Term.ConstI ZERO
public static final Term.ConstI ONE
public static final Term.ConstI TWO
public static Term.ConstI lookup(int value)
public int getValue()
public int getRetType()
TermgetRetType in class TermTYPE_X constants
defined in this class.protected boolean toB()
toB in class Term.Constprotected int toI()
toI in class Term.Constprotected double toD()
toD in class Term.Constprotected String toS()
toS in class Term.Constpublic String toString()
Termpublic <T> T accept(TermVisitor<T> visitor)
TermCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.