[antlr-interest] Line and Column information lost during AST creation

Xue Yong Zhi zhixueyong at hotmail.com
Thu Jan 4 08:00:38 PST 2007


> 
> I've done that too. I call:
> setASTNodeClass("modesteditor.core.antlrparser.ASTWithOffsetInfos");
> 
> That gives me the following error message:
> Can't find/access AST Node
> typemodesteditor.core.antlrparser.ASTWithOffsetInfos
> 

It can be as simple as your ASTWithOffsetInfos is not a public class, or 
in a wrong package.
Antlr uses reflection to find ASTWithOffsetInfos.



More information about the antlr-interest mailing list