Hy, I'm looking at the Token class where we have a whole list of constants that could be the type of an AST node.
The way it looks to me, some of the Tokens are returned by the parser only while other are synthetic and exist only in the AST (for example SCRIPT, EXPR_VOID). What I would like to know is: what Tokens WON'T be found in the AST ? For example, ASSIGN_ADD doesn't seem to show up in the AST and is expanded to a subtree containing ADD. What other Tokens are guaranteed *not* to show up in the AST ? Given no formal grammar this would help me determine when to stop writing test cases (ie. while looking for an AST with some token). --emi _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
