|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.expr.ExpWalker gnu.expr.ResolveNames gnu.xquery.lang.XQResolveNames
public class XQResolveNames
Field Summary | |
---|---|
static int |
COMPARE_BUILTIN
Code number for the special compare function. |
static int |
DISTINCT_VALUES_BUILTIN
Code number for the special distinct-values function. |
static int |
DOC_AVAILABLE_BUILTIN
Code number for the special doc-available function. |
static int |
DOC_BUILTIN
Code number for the special doc function. |
Namespace[] |
functionNamespacePath
|
static int |
LAST_BUILTIN
Code number for the special last function. |
static Declaration |
lastDecl
Declaration for the fn:last() function. |
static int |
LOCAL_NAME_BUILTIN
Code number for the special local-name function. |
static int |
NAMESPACE_URI_BUILTIN
Code number for the special namespace-uri function. |
static int |
POSITION_BUILTIN
Code number for the special position function. |
static int |
ROOT_BUILTIN
Code number for the special root function. |
static int |
XS_QNAME_BUILTIN
Value of xs:QName() constructor. |
static Declaration |
xsQNameDecl
|
Fields inherited from class gnu.expr.ResolveNames |
---|
lookup |
Constructor Summary | |
---|---|
XQResolveNames()
|
|
XQResolveNames(Compilation comp)
|
Method Summary | |
---|---|
static Declaration |
makeBuiltin(java.lang.String name,
int code)
Create a Declaration for a builtin function. |
static Declaration |
makeBuiltin(Symbol name,
int code)
Create a Declaration for a builtin function. |
protected Symbol |
namespaceResolve(java.lang.String name,
boolean function)
|
protected void |
push(ScopeExp exp)
|
protected Expression |
walkApplyExp(ApplyExp exp)
|
protected Expression |
walkReferenceExp(ReferenceExp exp)
|
protected Expression |
walkSetExp(SetExp exp)
|
Methods inherited from class gnu.expr.ResolveNames |
---|
lookup, resolveModule, walkScopeExp |
Methods inherited from class gnu.expr.ExpWalker |
---|
error, getColumn, getCompilation, getCurrentLambda, getFile, getLine, noteError, setColumn, setContext, setFile, setLine, setLine, walk, walkBeginExp, walkBlockExp, walkClassExp, walkDefaultArgs, walkExitExp, walkExpression, walkExps, walkExps, walkFluidLetExp, walkIfExp, walkLambdaExp, walkLangExp, walkLetExp, walkModuleExp, walkObjectExp, walkQuoteExp, walkSynchronizedExp, walkThisExp, walkTryExp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LAST_BUILTIN
last
function.
public static final int POSITION_BUILTIN
position
function.
public static final int XS_QNAME_BUILTIN
xs:QName()
constructor.
public static final int COMPARE_BUILTIN
compare
function.
public static final int DISTINCT_VALUES_BUILTIN
distinct-values
function.
public static final int LOCAL_NAME_BUILTIN
local-name
function.
public static final int NAMESPACE_URI_BUILTIN
namespace-uri
function.
public static final int ROOT_BUILTIN
root
function.
public static final int DOC_BUILTIN
doc
function.
public static final int DOC_AVAILABLE_BUILTIN
doc-available
function.
public static final Declaration lastDecl
fn:last()
function.
public static final Declaration xsQNameDecl
public Namespace[] functionNamespacePath
Constructor Detail |
---|
public XQResolveNames()
public XQResolveNames(Compilation comp)
Method Detail |
---|
public static Declaration makeBuiltin(java.lang.String name, int code)
Declaration
for a builtin function.
public static Declaration makeBuiltin(Symbol name, int code)
Declaration
for a builtin function.
protected Symbol namespaceResolve(java.lang.String name, boolean function)
protected void push(ScopeExp exp)
push
in class ResolveNames
protected Expression walkReferenceExp(ReferenceExp exp)
walkReferenceExp
in class ResolveNames
protected Expression walkSetExp(SetExp exp)
walkSetExp
in class ResolveNames
protected Expression walkApplyExp(ApplyExp exp)
walkApplyExp
in class ExpWalker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |