Apitax/Core

Add the '@' character as a reflection operator

Closed this issue · 0 comments

The grammar might look like:
reflection: AT label;
AT : '@';

If the label corresponds to a symbol of type script OR if the label corresponds to a variable holding a script instance it will return:

  • driver
  • path
  • script options if they exist
  • a list of script scope symbols inside of the script

If the label corresponds to a primitive it will return:

  • None