Skip to main content

Class: InstanceOfExpr

Defined in: lang-xquery/src/ast/expression.ts:150

XQuery expr instance of SequenceType type-test expression.

Implements​

Constructors​

Constructor​

new InstanceOfExpr(expr, type): InstanceOfExpr

Defined in: lang-xquery/src/ast/expression.ts:151

Parameters​

ParameterTypeDescription
exprASTNodeThe expression being tested.
typeASTSequenceTypeThe sequence type to test against.

Returns​

InstanceOfExpr

Properties​

expr​

expr: ASTNode

Defined in: lang-xquery/src/ast/expression.ts:153

The expression being tested.


type​

type: ASTSequenceType

Defined in: lang-xquery/src/ast/expression.ts:155

The sequence type to test against.

Methods​

accept()​

accept<Ret, Arg>(visitor, arg?): Ret

Defined in: lang-xquery/src/ast/expression.ts:158

Dispatches this node to the matching method on visitor.

Type Parameters​

Type Parameter
Ret
Arg

Parameters​

ParameterType
visitorXQueryVisitor<Ret, Arg>
arg?Arg

Returns​

Ret

Implementation of​

ASTNode.accept