org.jetbrains.jet.lang.resolve.constants
Class CompileTimeConstantResolver
java.lang.Object
org.jetbrains.jet.lang.resolve.constants.CompileTimeConstantResolver
public class CompileTimeConstantResolver
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUT_OF_RANGE
public static final ErrorValue OUT_OF_RANGE
CompileTimeConstantResolver
public CompileTimeConstantResolver()
getIntegerValue
@NotNull
public CompileTimeConstant<?> getIntegerValue(@NotNull
java.lang.String text,
@NotNull
JetType expectedType)
getFloatValue
@NotNull
public CompileTimeConstant<?> getFloatValue(@NotNull
java.lang.String text,
@NotNull
JetType expectedType)
getBooleanValue
@NotNull
public CompileTimeConstant<?> getBooleanValue(@NotNull
java.lang.String text,
@NotNull
JetType expectedType)
getCharValue
@NotNull
public CompileTimeConstant<?> getCharValue(@NotNull
java.lang.String text,
@NotNull
JetType expectedType)
escapedStringToCharValue
@NotNull
public static CompileTimeConstant<?> escapedStringToCharValue(@NotNull
java.lang.String text)
translateEscape
@Nullable
public static java.lang.Character translateEscape(char c)
getRawStringValue
@NotNull
public CompileTimeConstant<?> getRawStringValue(@NotNull
java.lang.String unescapedText,
@NotNull
JetType expectedType)
getEscapedStringValue
@NotNull
public CompileTimeConstant<?> getEscapedStringValue(@NotNull
java.util.List<JetStringTemplateEntry> entries,
@NotNull
JetType expectedType)
getNullValue
@NotNull
public CompileTimeConstant<?> getNullValue(@NotNull
JetType expectedType)