Refactor expression evaluator (#57955)

This commit is contained in:
Titian Cernicova-Dragomir
2024-03-27 10:56:29 -07:00
committed by GitHub
parent bc7e5388da
commit fd388f7d00
3 changed files with 140 additions and 113 deletions
+6
View File
@@ -10065,3 +10065,9 @@ export interface Queue<T> {
dequeue(): T;
isEmpty(): boolean;
}
/** @internal */
export interface EvaluationResolver {
evaluateEntityNameExpression(expr: EntityNameExpression, location: Declaration | undefined): string | number | undefined;
evaluateElementAccessExpression(expr: ElementAccessExpression, location: Declaration | undefined): string | number | undefined;
}