[FAQ] How to get object references? (Rust SDK) #397
Labels
faq
good first issue
Good for newcomers
help wanted
Extra attention is needed
question
Further information is requested
How to get object references? (Rust SDK)
Hey! Hope you're doing well! I have a quick questions surrounding Rust SDK.
Let's say I have following KCL file:
I need to extract references to other identifiers used in any field or value of given object, so for example, based on above file I need to get:
Now, I checked Rust SDK and even tried to find it in non-public APIs like Parser or Evaluator, but no luck. I'm slowly learning internals of KCL, but it's very complex and I'm feeling little lost.
Can you please share where can I get this information or at what level should I intercept compilation to get this?
Thank you in advance!
The text was updated successfully, but these errors were encountered: