source: trunk/yao/share/antlr-2.7.7/examples/python/multiLexer/javadoc_p.g @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 484 bytes
Line 
1// This file is part of PyANTLR. See LICENSE.txt for license
2// details..........Copyright (C) Wolfgang Haefelinger, 2004.
3//
4// $Id$
5
6options {
7    language=Python;
8}
9
10class javadoc_p extends Parser;
11options {
12    importVocab=JavaDoc;
13}
14
15content
16        :       (       p:PARAM // includes ID as part of PARAM
17                        {print "found: ",p.getText()}
18                |       e:EXCEPTION
19                        {print "found: ",e.getText()}
20                )*
21        ;
Note: See TracBrowser for help on using the repository browser.