Skip to content

Commit

Permalink
[_fe_analyzer_shared] Add evaluateExpression
Browse files Browse the repository at this point in the history
This adds a helper method that evaluates an [Expression] based on
the semantics that can be deduced from the syntax.

Change-Id: I1b54ee03c1380d337969671133179aa557702a9b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392440
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
  • Loading branch information
johnniwinther authored and Commit Queue committed Nov 1, 2024
1 parent 58c336e commit bdacb7d
Show file tree
Hide file tree
Showing 23 changed files with 2,040 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/_fe_analyzer_shared/analysis_options_no_lints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ analyzer:
- test/inference/inferred_variable_types/data/**
- test/inheritance/data/**
- test/metadata/data/**
- test/metadata/evaluate_data/**
Loading

0 comments on commit bdacb7d

Please sign in to comment.