Skip to content

Return variables used within a PowerFx expression #2954

@gekarapa

Description

@gekarapa

As part of a static analysis feature, we need a service that can return all variables used within a PowerFx expression. This mainly supports the rule for detecting unused variables.
Example:
Given a valid PowerFx expression:
exactin(var1, var2)
The should return:
var1, var2

The input should be a valid PowerFx expression and should work for nested and complex expressions.

Metadata

Metadata

Labels

MS_PADPower Automate Desktop issuesenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions