In fact, when the source base is large, it takes a lot
of time to parse source code and to resolve a tree.
There should be some mechanism, which will enable to
save the built tree for the future usage.
The simpliest solution is to make a tree serializable.
The more advanced one is to create ORDBMS mapping and
to save tree there.
Logged In: YES
user_id=5928
Apparently, ASTs are already serializable. See
<http://antlr.org/doc/trees.html#AST%20Serialization> for
more information. However, I still see this as a relatively
low priority.
Logged In: YES
user_id=76543
Well, AST is really serializalbe, but any effort to
serialize the complete AST with resolved references will
fail because a lot of your internal data structures uses
unserializable classes (e.g. java.lang.Method).