
Re: How to parse the as3 code and get the full AST?
FD doesn't have full ASTs of the code.
However if you want superficial models you can add a reference to ASCompletion and look into ASContext.Context.
I also suggest you look into CodeRefactor plugin for an example of an plugin accessing all the available models.