Package org.esa.snap.core.jexp
Class Term.Call
java.lang.Object
org.esa.snap.core.jexp.Term
org.esa.snap.core.jexp.Term.Call
- Enclosing class:
 Term
A call of a (or reference to a) 
Function.- 
Nested Class Summary
Nested classes/interfaces inherited from class org.esa.snap.core.jexp.Term
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 - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T> Taccept(TermVisitor<T> visitor) Visitor support.intbooleanEvaluates this term to abooleanvalue.doubleEvaluates this term to adoublevalue.intEvaluates this term to anintvalue.getArg()getArg(int index) intTerm[]getArgs()Term[]Returns an array of terms which are children of this term.intGets the term's "natural" return type.booleanisConst()intpre()toString()Returns a string representation of this term which can be used for debugging. 
- 
Field Details
- 
function
 - 
args
 
 - 
 - 
Constructor Details
- 
Call
 
 - 
 - 
Method Details
- 
getRetType
public int getRetType()Description copied from class:TermGets the term's "natural" return type.- Specified by:
 getRetTypein classTerm- Returns:
 - the type, should always be one of the 
TYPE_X constants defined in this class. 
 - 
getFunction
 - 
getArgCount
public int getArgCount() - 
getArg
 - 
getArg
 - 
getArgs
 - 
evalB
Description copied from class:TermEvaluates this term to abooleanvalue. - 
evalI
Description copied from class:TermEvaluates this term to anintvalue. - 
evalD
Description copied from class:TermEvaluates this term to adoublevalue. - 
getChildren
Description copied from class:TermReturns an array of terms which are children of this term.- Overrides:
 getChildrenin classTerm- Returns:
 - an array of terms, never 
nullbut can be empty 
 - 
toString
Description copied from class:TermReturns a string representation of this term which can be used for debugging. - 
accept
Description copied from class:TermVisitor support. - 
isConst
public boolean isConst() - 
compare
 - 
pre
public int pre() 
 -