inferArgumentType abstract method

ResolveResult inferArgumentType(
  1. AnalysisContext context,
  2. SqlInvocation call,
  3. Expression argument
)

Resolve the type of an argument used in a function invocation.

The call refers to a function declared in functionNames. To provide further analysis, the context may be used. This method should return the inferred type of argument, which is an argument passed to the call.

If resolving to a type isn't possible, implementations should return ResolveResult.unknown.

Implementation

ResolveResult inferArgumentType(
    AnalysisContext context, SqlInvocation call, Expression argument);