Class TXQNativeModule
Unit
xquery
Declaration
type TXQNativeModule = class(TObject)
Description
A native XQuery module. Each native module has a certain namespace and declares functions, types and operators *
Hierarchy
Overview
Fields
Methods
Description
Fields
Methods
|
destructor Destroy; override; |
|
|
procedure registerFunction(const name: string; minArgCount, maxArgCount: integer; func: TXQBasicFunction; const typeChecking: array of string); overload; |
Registers a function that does not depend on the context. TypeChecking contains a list of standard XQuery function declarations (without the function name) for strict type checking.
|
|
procedure registerFunction(const name: string; func: TXQBasicFunction; const typeChecking: array of string); |
|
|
procedure registerFunction(const name: string; minArgCount, maxArgCount: integer; func: TXQComplexFunction; const typeChecking: array of string; contextDependencies: TXQContextDependencies = [low(TXQContextDependency)..high(TXQContextDependency)]); |
Registers a function that does depend on the context. TypeChecking contains a list of standard XQuery function declarations (without the function name) for strict type checking.
|
|
procedure registerInterpretedFunction(const name, typeDeclaration, func: string; contextDependencies: TXQContextDependencies = [low(TXQContextDependency)..high(TXQContextDependency)]); |
Registers a function from an XQuery body TypeChecking must a standard XQuery function declarations (without the function name but WITH the variable names) (it uses a simplified parser, so only space whitespace is allowed)
|
Generated by PasDoc 0.14.0.
|