|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.resolve.constants.CompileTimeConstantChecker
public class CompileTimeConstantChecker
| Nested Class Summary | |
|---|---|
static class |
CompileTimeConstantChecker.CharacterWithDiagnostic
|
| Constructor Summary | |
|---|---|
CompileTimeConstantChecker(BindingTrace trace,
boolean checkOnlyErrorsThatDependOnExpectedType)
|
|
| Method Summary | |
|---|---|
boolean |
checkConstantExpressionType(
|
static CompileTimeConstantChecker.CharacterWithDiagnostic |
escapedStringToCharacter(java.lang.String text,
JetElement expression)
|
static boolean |
noExpectedTypeOrError(JetType expectedType)
|
static java.lang.Character |
parseChar(JetConstantExpression expression)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompileTimeConstantChecker(@NotNull
BindingTrace trace,
boolean checkOnlyErrorsThatDependOnExpectedType)
| Method Detail |
|---|
public boolean checkConstantExpressionType(@Nullable
compileTimeConstant,
@NotNull
JetConstantExpression expression,
@NotNull
JetType expectedType)
@NotNull
public static CompileTimeConstantChecker.CharacterWithDiagnostic escapedStringToCharacter(@NotNull
java.lang.String text,
@NotNull
JetElement expression)
@Nullable
public static java.lang.Character parseChar(@NotNull
JetConstantExpression expression)
public static boolean noExpectedTypeOrError(JetType expectedType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||