public interface FunctionItemType extends ItemType
ItemType.WithSequenceTypeCache
Modifier and Type | Method and Description |
---|---|
AnnotationList |
getAnnotationAssertions()
Get the list of Annotation Assertions associated with this function item type
|
SequenceType[] |
getArgumentTypes()
Get the argument types of the function
|
default Genre |
getGenre()
Determine the Genre (top-level classification) of this type
|
SequenceType |
getResultType()
Get the result type of the function
|
boolean |
isArrayType()
Ask whether this function item type is an array type.
|
boolean |
isMapType()
Ask whether this function item type is a map type.
|
Expression |
makeFunctionSequenceCoercer(Expression exp,
RoleDiagnostic role)
Create an expression whose effect is to apply function coercion to coerce a function to this function type
|
int |
relationship(FunctionItemType other,
TypeHierarchy th)
Determine the relationship of one function item type to another.
|
explainMismatch, generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAlphaCode, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, isTrueItemType, matches, toExportString, toString
default Genre getGenre()
getGenre
in interface ItemType
Genre.FUNCTION
SequenceType[] getArgumentTypes()
SequenceType getResultType()
int relationship(FunctionItemType other, TypeHierarchy th)
TypeHierarchy.SUBSUMES
, TypeHierarchy.SAME_TYPE
AnnotationList getAnnotationAssertions()
Expression makeFunctionSequenceCoercer(Expression exp, RoleDiagnostic role) throws XPathException
exp
- the expression that delivers the supplied sequence of function items (the ones in need of coercion)role
- information for use in diagnosticsXPathException
boolean isMapType()
boolean isArrayType()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.