|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.expr.ExpWalker
gnu.expr.ResolveNames
gnu.xquery.lang.XQResolveNames
public class XQResolveNames
Field Summary | |
---|---|
static int |
BASE_URI_BUILTIN
Code number for the special doc-available function. |
static int |
CAST_AS_BUILTIN
|
static int |
CASTABLE_AS_BUILTIN
|
static Declaration |
castableAsDecl
|
static Declaration |
castAsDecl
|
static int |
COLLECTION_BUILTIN
Code number for the special collection function. |
static int |
COMPARE_BUILTIN
Code number for the special compare function. |
static int |
DEEP_EQUAL_BUILTIN
Code number for the special deep-equal function. |
static int |
DEFAULT_COLLATION_BUILTIN
Code number for the special default-collation 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 |
HANDLE_EXTENSION_BUILTIN
Code number for internal function to handle extensions. |
static Declaration |
handleExtensionDecl
|
static int |
ID_BUILTIN
Code number for the special id function. |
static int |
IDREF_BUILTIN
Code number for the special idref function. |
static int |
INDEX_OF_BUILTIN
Code number for the special index-of function. |
static int |
LANG_BUILTIN
Code number for the special lang function. |
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 |
MAX_BUILTIN
Code number for the special max function. |
static int |
MIN_BUILTIN
Code number for the special min function. |
static int |
NAME_BUILTIN
Code number for the special name function. |
static int |
NAMESPACE_URI_BUILTIN
Code number for the special namespace-uri function. |
static int |
NORMALIZE_SPACE_BUILTIN
Code number for the special normalize-space function. |
static int |
NUMBER_BUILTIN
Code number for the special number function. |
static int |
POSITION_BUILTIN
Code number for the special position function. |
static int |
RESOLVE_PREFIX_BUILTIN
Code number for internal function that maps prefix to uri. |
static int |
RESOLVE_URI_BUILTIN
Code number for the special ressolve-uri function. |
static Declaration |
resolvePrefixDecl
|
static int |
ROOT_BUILTIN
Code number for the special root function. |
static int |
STATIC_BASE_URI_BUILTIN
Code number for the special static-base-uri function. |
static Declaration |
staticBaseUriDecl
|
static int |
STRING_BUILTIN
Code number for the special string function. |
static int |
UNORDERED_BUILTIN
Code number for the special unordered function. |
static int |
XS_QNAME_BUILTIN
Value of xs:QName() constructor. |
static Declaration |
xsQNameDecl
|
Fields inherited from class gnu.expr.ResolveNames |
---|
lookup |
Fields inherited from class gnu.expr.ExpWalker |
---|
currentLambda, messages |
Constructor Summary | |
---|---|
XQResolveNames()
|
|
XQResolveNames(Compilation comp)
|
Method Summary | |
---|---|
Expression |
checkPragma(Symbol name,
Expression contents)
|
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 void |
push(ScopeExp exp)
|
void |
resolveModule(ModuleExp exp)
|
protected Expression |
walkApplyExp(ApplyExp exp)
|
protected Expression |
walkReferenceExp(ReferenceExp exp)
|
protected Expression |
walkReferenceExp(ReferenceExp exp,
ApplyExp call)
|
protected Expression |
walkSetExp(SetExp exp)
|
Methods inherited from class gnu.expr.ResolveNames |
---|
lookup, walkLetExp, walkScopeExp |
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 COLLECTION_BUILTIN
collection
function.
public static final int DOC_BUILTIN
doc
function.
public static final int DOC_AVAILABLE_BUILTIN
doc-available
function.
public static final int BASE_URI_BUILTIN
doc-available
function.
public static final int RESOLVE_URI_BUILTIN
ressolve-uri
function.
public static final int RESOLVE_PREFIX_BUILTIN
public static final int STATIC_BASE_URI_BUILTIN
static-base-uri
function.
public static final int INDEX_OF_BUILTIN
index-of
function.
public static final int STRING_BUILTIN
string
function.
public static final int NORMALIZE_SPACE_BUILTIN
normalize-space
function.
public static final int UNORDERED_BUILTIN
unordered
function.
public static final int LANG_BUILTIN
lang
function.
public static final int NAME_BUILTIN
name
function.
public static final int DEEP_EQUAL_BUILTIN
deep-equal
function.
public static final int MIN_BUILTIN
min
function.
public static final int MAX_BUILTIN
max
function.
public static final int NUMBER_BUILTIN
number
function.
public static final int DEFAULT_COLLATION_BUILTIN
default-collation
function.
public static final int ID_BUILTIN
id
function.
public static final int IDREF_BUILTIN
idref
function.
public static final int ROOT_BUILTIN
root
function.
public static final int CAST_AS_BUILTIN
public static final int CASTABLE_AS_BUILTIN
public static final int HANDLE_EXTENSION_BUILTIN
public static final Declaration handleExtensionDecl
public static final Declaration castAsDecl
public static final Declaration castableAsDecl
public static final Declaration lastDecl
fn:last()
function.
public static final Declaration xsQNameDecl
public static final Declaration staticBaseUriDecl
public static final Declaration resolvePrefixDecl
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 void push(ScopeExp exp)
push
in class ResolveNames
protected Expression walkReferenceExp(ReferenceExp exp)
walkReferenceExp
in class ResolveNames
protected Expression walkReferenceExp(ReferenceExp exp, ApplyExp call)
protected Expression walkSetExp(SetExp exp)
walkSetExp
in class ResolveNames
public void resolveModule(ModuleExp exp)
resolveModule
in class ResolveNames
protected Expression walkApplyExp(ApplyExp exp)
walkApplyExp
in class ExpWalker
public Expression checkPragma(Symbol name, Expression contents)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |