You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Michael Schmalle <ap...@teotigraphix.com> on 2013/02/15 11:38:07 UTC

[FalconJx] as tokens file; moving all our tokens to this api

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