|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expr | |
condor.classad | Java implementation of Condor "Classified Advertisements". |
Uses of Expr in condor.classad |
Subclasses of Expr in condor.classad | |
class |
AttrRef
A reference to another attribute. |
class |
CondExpr
A conditional expression. |
class |
Constant
A constant (Integer, Real, etc.). |
class |
FuncCall
A function call. |
class |
ListExpr
A list of expressions. |
class |
Op
A unary or binary expression. |
class |
RecordExpr
A "record" expression (also known as a "classad"). |
class |
SelectExpr
An internal (non-leaf) node of an expression tree, representing a selection of component of a record. |
class |
SubscriptExpr
A selection from a list. |
Fields in condor.classad declared as Expr | |
Expr[] |
FuncCall.args
The parameters to the function. |
Expr |
SubscriptExpr.base
The left argument (base expression) of the subscript operator. |
Expr |
SubscriptExpr.selector
The right argument (subscript) of the selection operator. |
Expr |
SelectExpr.base
The left argument (base expression) of the selection operator. |
Expr[] |
Query.selectClause
The expressions in the SelectionClause. |
Expr |
Query.whereClause
The "where" clause or null if the "where" clause was omitted. |
Expr |
Op.arg1
The first (or only) operand. |
Expr |
Op.arg2
The second operand; null if the operator is unary. |
Expr |
CondExpr.ec
The condition (first component of the expression) |
Expr |
CondExpr.et
The true part (second component of the expression) |
Expr |
CondExpr.ef
The false part (third component of the expression) |
Methods in condor.classad that return Expr | |
protected Expr |
FuncCall.eval1(Expr.Env env)
Evaluate this Expr. |
protected Expr |
SubscriptExpr.eval1(Expr.Env env)
Evaluate this Expr. |
static Expr |
SelectExpr.select(Expr base,
String[] sel)
A convenience function for creating a SelectExpression corresponding to "base.a.b.c" |
protected Expr |
SelectExpr.eval1(Expr.Env env)
Evaluate this Expr. |
Expr |
RecordExpr.lookup(String name)
Find the attribute with the given name. |
Expr |
RecordExpr.lookup(AttrName name)
Find the attribute with the given name. |
Expr |
RecordExpr.removeAttribute(AttrName attr)
Delete an attribute. |
protected Expr |
RecordExpr.eval1(Expr.Env env)
Evaluate this Expr. |
protected Expr |
Op.eval1(Expr.Env env)
Evaluate this Expr. |
Expr |
ListExpr.sub(int i)
Get a member of this list. |
Expr |
ListExpr.add(Expr e)
Appends the specified Expr to the end of this list. |
protected Expr |
ListExpr.eval1(Expr.Env env)
Evaluate this Expr. |
protected abstract Expr |
Expr.eval1(Expr.Env env)
Evaluate this Expr. |
Expr |
Expr.eval(Expr.Env env)
Evaluate this Expr in a given environment. |
Expr |
Expr.eval()
Evaluate this Expr in a "top-level" (empty) environment. |
Expr |
Expr.Env.search(AttrName name)
Search for a given attribute name in the RecordExprs on the stack, from innermost to outermost. |
protected Expr |
Constant.eval1(Expr.Env env)
Evaluate this Expr. |
protected Expr |
CondExpr.eval1(Expr.Env env)
Evaluate this Expr. |
Expr |
ClassAdSAXHandler.getResult()
Get the result of the most recent parse, if any. |
Expr |
ClassAdParser.parse(boolean acceptPrefix)
Parse a classsad Expr from the current input stream. |
Expr |
ClassAdParser.parse()
Parse a classsad Expr from the current input stream. |
static Expr |
ClassAd.eval(RecordExpr ad,
String[] attrs)
Evaluate a selection from a ClassAd. |
static Expr |
ClassAd.eval(RecordExpr ad,
String attr)
Evaluate a selection from a ClassAd. |
static Expr |
ClassAd.eval(String name,
Expr expr,
RecordExpr ad)
Evaluate an expression in the context of a ClassAd. |
static Expr |
ClassAd.eval(String attr,
RecordExpr ad1,
RecordExpr ad2)
Evaluate an attribute of a ClassAd in an environment consisting of a pair of ads. |
protected Expr |
AttrRef.eval1(Expr.Env env)
Evaluate this Expr. |
Methods in condor.classad with parameters of type Expr | |
void |
ClassAdWriter.println(Expr exp)
Print a classad expression and then terminate the line. |
void |
ClassAdWriter.print(Expr exp)
Print a classad expression. |
static Expr |
SelectExpr.select(Expr base,
String[] sel)
A convenience function for creating a SelectExpression corresponding to "base.a.b.c" |
RecordExpr |
RecordExpr.insertAttribute(String name,
Expr expr)
Add an attribute (replacing previous value if any) |
RecordExpr |
RecordExpr.insertAttribute(AttrName key,
Expr expr)
Add an attribute (replacing previous value if any) |
Expr |
ListExpr.add(Expr e)
Appends the specified Expr to the end of this list. |
static Expr |
ClassAd.eval(String name,
Expr expr,
RecordExpr ad)
Evaluate an expression in the context of a ClassAd. |
static int[] |
ClassAd.match(Expr expr1,
Expr expr2)
Match two ClassAds. |
static int[] |
ClassAd.match(Expr expr1,
Expr expr2)
Match two ClassAds. |
Constructors in condor.classad with parameters of type Expr | |
SubscriptExpr(Expr base,
Expr selector)
Create a new SubscriptExpr. |
|
SubscriptExpr(Expr base,
Expr selector)
Create a new SubscriptExpr. |
|
SelectExpr(Expr base,
String selector)
Create a new SelectExpr corresponding to base.selector . |
|
SelectExpr(Expr base,
AttrName selector)
Create a new SelectExpr corresponding to base.selector . |
|
Query(Expr[] s,
String[] n,
String f,
Expr w)
Construct a query from its components. |
|
Query(Expr[] s,
String[] n,
String f,
Expr w)
Construct a query from its components. |
|
Op(int op,
Expr arg1,
Expr arg2)
Construct a node for a binary operator. |
|
Op(int op,
Expr arg1,
Expr arg2)
Construct a node for a binary operator. |
|
Op(int op,
Expr arg1)
Construct a node for a unary operator. |
|
CondExpr(Expr ec,
Expr et,
Expr ef)
Construct a conditional expression from its three components. |
|
CondExpr(Expr ec,
Expr et,
Expr ef)
Construct a conditional expression from its three components. |
|
CondExpr(Expr ec,
Expr et,
Expr ef)
Construct a conditional expression from its three components. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |