org.jetbrains.kotlin.types.expressions
Class ExpressionTypingContext
java.lang.Object
org.jetbrains.kotlin.resolve.calls.context.ResolutionContext<ExpressionTypingContext>
org.jetbrains.kotlin.types.expressions.ExpressionTypingContext
public class ExpressionTypingContext
- extends ResolutionContext<ExpressionTypingContext>
| Fields inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext |
callPosition, collectAllCandidates, contextDependency, dataFlowInfo, DEFAULT_EXPRESSION_CONTEXT_PROVIDER, expectedType, expressionContextProvider, isAnnotationContext, isDebuggerContext, resolutionResultsCache, scope, statementFilter, trace |
|
Method Summary |
protected ExpressionTypingContext |
create(BindingTrace trace,
LexicalScope scope,
DataFlowInfo dataFlowInfo,
KotlinType expectedType,
ContextDependency contextDependency,
ResolutionResultsCache resolutionResultsCache,
StatementFilter statementFilter,
boolean collectAllCandidates,
CallPosition callPosition,
kotlin.jvm.functions.Function1<KtExpression,KtExpression> expressionContextProvider)
|
static ExpressionTypingContext |
newContext(BindingTrace trace,
LexicalScope scope,
DataFlowInfo dataFlowInfo,
KotlinType expectedType)
|
static ExpressionTypingContext |
newContext(BindingTrace trace,
LexicalScope scope,
DataFlowInfo dataFlowInfo,
KotlinType expectedType,
ContextDependency contextDependency,
ResolutionResultsCache resolutionResultsCache,
StatementFilter statementFilter,
boolean isAnnotationContext)
|
static ExpressionTypingContext |
newContext(BindingTrace trace,
LexicalScope scope,
DataFlowInfo dataFlowInfo,
KotlinType expectedType,
ContextDependency contextDependency,
StatementFilter statementFilter)
|
static ExpressionTypingContext |
newContext(ResolutionContext context)
|
static ExpressionTypingContext |
newContext(ResolutionContext context,
boolean isDebuggerContext)
|
| Methods inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext |
getContextParentOfType, replaceBindingTrace, replaceCallPosition, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceExpressionContextProvider, replaceResolutionResultsCache, replaceScope, replaceStatementFilter, replaceTraceAndCache |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newContext
@NotNull
public static ExpressionTypingContext newContext(@NotNull
BindingTrace trace,
@NotNull
LexicalScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
KotlinType expectedType)
newContext
@NotNull
public static ExpressionTypingContext newContext(@NotNull
BindingTrace trace,
@NotNull
LexicalScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
KotlinType expectedType,
@NotNull
ContextDependency contextDependency,
@NotNull
StatementFilter statementFilter)
newContext
@NotNull
public static ExpressionTypingContext newContext(@NotNull
ResolutionContext context)
newContext
@NotNull
public static ExpressionTypingContext newContext(@NotNull
ResolutionContext context,
boolean isDebuggerContext)
newContext
@NotNull
public static ExpressionTypingContext newContext(@NotNull
BindingTrace trace,
@NotNull
LexicalScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
KotlinType expectedType,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
StatementFilter statementFilter,
boolean isAnnotationContext)
create
protected ExpressionTypingContext create(@NotNull
BindingTrace trace,
@NotNull
LexicalScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
KotlinType expectedType,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
StatementFilter statementFilter,
boolean collectAllCandidates,
@NotNull
CallPosition callPosition,
@NotNull
kotlin.jvm.functions.Function1<KtExpression,KtExpression> expressionContextProvider)
- Specified by:
create in class ResolutionContext<ExpressionTypingContext>