[QUESTION] - Is it possible to get information for function arguments? #469
Replies: 5 comments
-
Yes. It is totally possible. Just use the visitor https://expr.medv.io/docs/Visitor-and-Patch |
Beta Was this translation helpful? Give feedback.
-
@antonmedv Thanks. I will check it. Is it fine to identify |
Beta Was this translation helpful? Give feedback.
-
Not sure what you asking about. |
Beta Was this translation helpful? Give feedback.
-
I meant, When I try to Parse v, err := expr.Parse("a.b")
if err != nil {
panic(err)
}
fmt.Println(v.Variables, v.Constants) IMO,
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I've a requirement to get information about a function and it's arguments.
For e.g.
age(customer.dob, 'Male')
Here I wanted to identify above something like
Beta Was this translation helpful? Give feedback.
All reactions