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
Lets say we want to modify the CSTNode being created.
For Example:
$.RULE("array",()=>{constfrom=this.currIdx$.CONSUME(LSquare)// ...$.CONSUME(RSquare)constto=this.currIdx// Ugly way to access the current CSTNode using internal APIsthis.CST_STACK[this.CST_STACK.length-1].tokVectorRange={from: from,to: to}})
It seems there should be a better way to access the current CSTNode.
Both in terms of being documented on the public API and in terms of conciseness.
Perhaps something like this.currCSTNode or maybe just this.currNode
The text was updated successfully, but these errors were encountered:
Lets say we want to modify the CSTNode being created.
For Example:
It seems there should be a better way to access the current CSTNode.
Both in terms of being documented on the public API and in terms of conciseness.
Perhaps something like
this.currCSTNode
or maybe justthis.currNode
The text was updated successfully, but these errors were encountered: