[antlr-interest] Using Tree Interface not plain Object

Terence Parr parrt at cs.usfca.edu
Sun Sep 4 14:41:11 PDT 2011


On Sep 4, 2011, at 1:31 PM, Sam Harwell wrote:

> The new interfaces aren't required across the board, but would be used for
> the vast majority of situations. By specifying the "ASTLabelType=xxxxx;" and
> "TreeAdaptorType=yyyyy;" options, you could override the entire system.

Hi Sam,

I was thinking about TreeAdaptorType, er, ASTAdaptorType option. I'm not sure exposing the concrete type of the adaptor helps very much and it's just one more thing to document and test. If I use the adaptor myself, it's usually to access the interface methods.

Ter


More information about the antlr-interest mailing list