FunctionHandler class abstract
Function handlers can be implemented by an Extension to add type analysis for additional function.
Constructors
- FunctionHandler()
-
Constant default constructor to allow const implementations.
const
Properties
-
functionNames
→ Set<
String> -
The set of function names supported by this handler.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
inferArgumentType(
AnalysisContext context, SqlInvocation call, Expression argument) → ResolveResult - Resolve the type of an argument used in a function invocation.
-
inferReturnType(
AnalysisContext context, SqlInvocation call, List< Typeable> expandedArgs) → ResolveResult - Resolve the return type of a function invocation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportErrors(
SqlInvocation call, AnalysisContext context) → void -
Can optionally be used by implementations to provide AnalysisErrors
from the
call
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited