public abstract static class Term.Op extends 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| Modifier and Type | Field and Description | 
|---|---|
| protected Term[] | args | 
| protected String | name | 
| protected int | type | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Op(String name,
  int type,
  Term[] args) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(Term other) | 
| Term | getArg() | 
| Term | getArg(int index) | 
| int | getArgCount() | 
| Term[] | getArgs() | 
| Term[] | getChildren()Returns an array of terms which are children of this term. | 
| String | getName() | 
| int | getRetType()Gets the term's "natural" return type. | 
| boolean | isConst() | 
| String | toString()Returns a string representation of this term which
 can be used for debugging. | 
protected final String name
protected final int type
protected final Term[] args
public String getName()
public int getRetType()
TermgetRetType in class TermTYPE_X constants
 defined in this class.public int getArgCount()
public Term getArg()
public Term getArg(int index)
public Term[] getArgs()
public Term[] getChildren()
TermgetChildren in class Termnull but can be emptypublic String toString()
Termpublic boolean isConst()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.