|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--condor.classad.Expr
|
+--condor.classad.SubscriptExpr
A selection from a list. An internal (non-leaf) node of an expression tree representing a subscript applied to another expression (which presumedly evaluates to a list).
Expr| Fields inherited from class condor.classad.Expr |
ABSOLUTE_TIME, AND, ATTRIBUTE, BIT_COMPLEMENT, BITAND, BITOR, BITXOR, BOOLEAN, BRIEF, CALL, COMPACT, COND, dblevel, DIFFERENT, DIV, EQUAL, ERROR, formatFlags, formatIndent, GREATER, GREATER_EQ, INTEGER, LEFT_SHIFT, LESS, LESS_EQ, LIST, MAXPREC, MINIMAL_PARENTHESES, MINUS, MOD, MULTI_LINE_ADS, MULTI_LINE_LISTS, NO_ESCAPE_STRINGS, NOT, NOT_EQUAL, OP, opName, OR, PLUS, READABLE, REAL, RECORD, RELATIVE_TIME, RIGHT_SHIFT, SAME, SELECTION, SHOW_ERROR_DETAIL, SHOW_INSTANCES, STRING, SUBSCRIPT, TIMES, type, UMINUS, UNDEFINED, UPLUS, URIGHT_SHIFT |
| Constructor Summary | |
SubscriptExpr(Expr base,
Expr selector)
Create a new SubscriptExpr. |
|
| Method Summary | |
protected int |
prec()
The precedence of the operator in this expression node. |
protected Expr |
reEval(Context ctx)
Evalutate this expression. |
String |
toString()
Convert this Expr to a string. |
protected String |
typeName()
The type of the expression. |
| Methods inherited from class condor.classad.Expr |
db, db, disableFormatFlags, enableFormatFlags, eval, getFormatFlags, isConstant, isNormalForm, mark, mark, mark, select, setFormatFlags, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SubscriptExpr(Expr base,
Expr selector)
base - the left argument (base expression).selector - the right argument (subscript).| Method Detail |
protected String typeName()
typeName in class Exprpublic String toString()
Expr.formatFlags and Expr.formatIndent.
The result may be multiple lines long (it may include embedded newlines
and tabs), but it never ends with a newline.toString in class ExprExpr.formatFlags,
Expr.formatIndentprotected int prec()
prec in class ExprExpr.MINIMAL_PARENTHESESprotected Expr reEval(Context ctx)
reEval in class Exprctx - an evaluation context for evaluating this expressionExpr.eval(condor.classad.Context)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||