Rename CompileTimeConstantEvaluator to have Fir prefix
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.types.ConstantValueKind
|
|||||||
* An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
|
* An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
|
||||||
* and the argument, are compile-time constant as well.
|
* and the argument, are compile-time constant as well.
|
||||||
*/
|
*/
|
||||||
class CompileTimeConstantEvaluator {
|
class FirCompileTimeConstantEvaluator {
|
||||||
|
|
||||||
// TODO: Handle boolean operators, const property loading, class reference, array, annotation values, etc.
|
// TODO: Handle boolean operators, const property loading, class reference, array, annotation values, etc.
|
||||||
fun evaluate(expression: FirExpression): ConstantValue<*>? =
|
fun evaluate(expression: FirExpression): ConstantValue<*>? =
|
||||||
Reference in New Issue
Block a user