[antlr-interest] xmlSerialize with 2.7.2 antlr.JAR
Terence Parr
parrt at jguru.com
Wed Feb 5 09:33:24 PST 2003
Hi,
The type of ast should be more than plain AST as AST interface does not
include xmlSerialize.
Terence
On Wednesday, February 5, 2003, at 08:57 AM, CC wrote:
> Hi,
> Main.java
> ...
> Writer w = new OutputStreamWriter(System.out);
> ast.xmlSerialize(w);
> w.write("\n");
> w.flush();
> ...
>
> With antlr.jar, I have:
> Sources\DefOntoAntlr\Main.java:48: cannot resolve symbol
> symbol : method xmlSerialize (java.io.Writer)
> location: interface antlr.collections.AST
> ast.xmlSerialize(w);
> ^
> 1 error
> I certainly missed something!
> Thanks a lot for help.
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list