[antlr-interest] Re: Problem with Heterogenous AST antlr 2.7.2a6
    micheal_jor <open.zone at virgin.net> 
    open.zone at virgin.net
       
    Fri Dec 20 18:27:38 PST 2002
    
    
  
--- In antlr-interest at yahoogroups.com, "beeh1973 <hastur4711 at b...>" 
<hastur4711 at b...> wrote:
> hi,
> 
> i tried to use my grammar with antlr 2.7.2a6. i used it with 
version 
> 2.7.2a2 before without problems.
> 
> i use heterogenous AST Construction
> AST Classes are in some package.
> 
> header {
>    package org.mydomain;
> }
> 
> tokens {
>    EXIST <AST=ExistOperator>;
> }
> 
> [...]
> 
> i have a corresponding class org.mydomain.ExistOperator
So the class is really called "org.mydomain.ExistOperator"
Have you tried the following?
    tokens {
       EXIST <AST=org.mydomain.ExistOperator>;
    }
I'm not sure whether your example with just the classname should work 
as well. Ter?
Micheal
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list