Hey Erik,
A while ago I created org.apache.flex.compiler.as.codegen.ASTokens interface.
In that file I listed all the tokens the ASParser uses. I want to name
our tokens the same as the parser 'except' for this stuff;
TOKEN_RESERVED_WORD_SET becomes SET
KEYWORD_SUPER becomes SUPER
TOKEN_OPERATOR_LOGICAL_OR_ASSIGNMENT becomes LOGICAL_OR_ASSIGNMENT
You see we are taking off things like;
- TOKEN
- TOKEN_RESERVED_WORD
- KEYWORD
- TOKEN_OPERATOR
Keeping all these names straight is very important for future stuff
that might be created.
I will refactor the ASEmitter constants eventually if you don't get to
them first on a 'laszy' day. ;-)
Mike
--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com