| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
File ordering: If you're using separate lexer and parser grammars instead of a combined one, lexer grammars need to be compiled first. Lexer grammars produce a file *.tokens which is needed for generating the code for the parser grammar. Combined grammars also produce *.tokens. This gives a quite logical order of compiling *.g4: 1. lexer grammars 2. combined grammars 3. parser grammars Note that this only covers simple cases. It won't help if you're trying to combine grammars in more complex ways.
Groovy Documentation