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
|
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.
|
generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, matches, toExportString, toString, visitNamedSchemaComponents
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-2018 Saxonica Limited. All rights reserved.