I'm traversing the AST and I need to know the kind of an attribute and the types and values of its parameters. The only way to do so that I found is to call attributeToString function and regex over it. Also, the function parses numbers to string literals, like so: @location('0'), which I think may be a bug.
I'm traversing the AST and I need to know the kind of an attribute and the types and values of its parameters. The only way to do so that I found is to call
attributeToStringfunction and regex over it. Also, the function parses numbers to string literals, like so:@location('0'), which I think may be a bug.