public class ContextInferenceManager extends Object
Constructor and Description |
---|
ContextInferenceManager() |
Modifier and Type | Method and Description |
---|---|
void |
cancelInferences(Expression assignmentRoot,
Expression rhs) |
void |
clear() |
ContextInferenceManager |
copy() |
static Expression |
getUnwrappedExpression(Expression expression)
If the expression is wrapped in ImplicitTypeAsExpressions, this will will unwrap them back
down to the original expression.
|
IType |
infer(Expression e) |
void |
popCtx(boolean preserveInference) |
void |
popLoopCompromised() |
void |
pushCtx() |
void |
pushLastCtx() |
void |
pushLoopCompromised() |
void |
restoreLastCtx() |
void |
resumeRefCollection() |
void |
suspendRefCollection() |
static IParsedElement |
unwrapImplicitTypeAs(Expression expression) |
void |
updateType(Expression expression,
IType typeIsType) |
public ContextInferenceManager copy()
public void pushCtx()
public void popCtx(boolean preserveInference)
public void pushLastCtx()
public void restoreLastCtx()
public void clear()
public void updateType(Expression expression, IType typeIsType)
public IType infer(Expression e)
public void cancelInferences(Expression assignmentRoot, Expression rhs)
public static IParsedElement unwrapImplicitTypeAs(Expression expression)
public static Expression getUnwrappedExpression(Expression expression)
expression
- public void pushLoopCompromised()
public void popLoopCompromised()
public void suspendRefCollection()
public void resumeRefCollection()
Copyright © 2016. All rights reserved.