|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.mapping.Procedure gnu.mapping.ProcedureN gnu.mapping.MethodProc gnu.xquery.util.RelativeStep
public class RelativeStep
Implements XPath path expression. The XPath expression E1/E2 is compiled into: (relative-step E1 (lambda (dot position last) E2)).
Field Summary | |
---|---|
static RelativeStep |
relativeStep
|
Fields inherited from class gnu.mapping.MethodProc |
---|
argTypes, NO_MATCH, NO_MATCH_AMBIGUOUS, NO_MATCH_BAD_TYPE, NO_MATCH_TOO_FEW_ARGS, NO_MATCH_TOO_MANY_ARGS |
Fields inherited from class gnu.mapping.ProcedureN |
---|
noArgs |
Constructor Summary | |
---|---|
RelativeStep()
|
Method Summary | |
---|---|
void |
apply(CallContext ctx)
Call this Procedure using the explicit-CallContext-convention. |
Expression |
inline(ApplyExp exp,
ExpWalker walker)
Inline an application of this Procedure and return result. |
int |
numArgs()
Return minArgs()|(maxArgs<<12). |
Methods inherited from class gnu.mapping.MethodProc |
---|
applyN, getParameterType, isApplicable, matchFailAsException, mostSpecific, mostSpecific, numParameters, resolveParameterTypes |
Methods inherited from class gnu.mapping.ProcedureN |
---|
apply0, apply1, apply2, apply3, apply4 |
Methods inherited from class gnu.mapping.Procedure |
---|
apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RelativeStep relativeStep
Constructor Detail |
---|
public RelativeStep()
Method Detail |
---|
public int numArgs()
Procedure
numArgs
in class Procedure
public void apply(CallContext ctx) throws java.lang.Throwable
Procedure
apply
in class Procedure
java.lang.Throwable
public Expression inline(ApplyExp exp, ExpWalker walker)
CanInline
inline
in interface CanInline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |