|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.expr.Simple
org.basex.query.expr.Pos
public final class Pos
Pos expression.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Method Summary | |
|---|---|
Bln |
atomic(QueryContext ctx)
Evaluates the expression and returns the resulting item or a null reference. |
boolean |
last(QueryContext ctx)
Returns false if no more results can be expected. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
String |
toString()
|
boolean |
uses(Expr.Use u,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Simple |
|---|
color, comp |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, indexAccessible, indexEquivalent, iter, removable, remove, sameAs, size, test, v |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Bln atomic(QueryContext ctx)
throws QueryException
Exprnull reference.
If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented.
atomic in class Exprctx - query context
QueryException - query exceptionpublic boolean last(QueryContext ctx)
ctx - query context
public boolean uses(Expr.Use u,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Simpleu - use type to be checkedctx - query context
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public String toString()
toString in class ExprInfo
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class Simpleser - serializer
IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||