You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've encountered an issue where we name a user defined function to a keyword.
For example
myns.all()
Is parsed as a property lookup of property all on object myns. It seems this is related to ALL being a keyword. It parses correctly for all function names except when using keywords as function names.
Just wanted to check if there is a rule that you cannot name any functions within user defined namespaces to keywords or if there is a bug somewhere?
We are using antlr4 for JavaScript to do the parsing.
The text was updated successfully, but these errors were encountered:
From what I can see in the 'User-defined functions' section of the specification v9, there is no restriction on function names or namespaces containing reserved words.
We've encountered an issue where we name a user defined function to a keyword.
For example
Is parsed as a property lookup of property
all
on objectmyns
. It seems this is related toALL
being a keyword. It parses correctly for all function names except when using keywords as function names.Just wanted to check if there is a rule that you cannot name any functions within user defined namespaces to keywords or if there is a bug somewhere?
We are using antlr4 for JavaScript to do the parsing.
The text was updated successfully, but these errors were encountered: