annotate MoinMoin/parser/text_java.py @ 4443:20747ef82aca

PEP8 trailing whitespace removed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 02 Jan 2009 23:51:28 +0100
parents 5eb02932f387
children b7ab238032dd
rev   line source
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
1 # -*- coding: iso-8859-1 -*-
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
2 """
2274
01f6172dabd0 remove tabs from source files, remove excludes from test_tab
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1920
diff changeset
3 MoinMoin - Java Source Parser
4443
20747ef82aca PEP8 trailing whitespace removed
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 4382
diff changeset
4
4382
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
5 DEPRECATED compatibility wrapper calling the highlight parser.
4443
20747ef82aca PEP8 trailing whitespace removed
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 4382
diff changeset
6
4382
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
7 This is to support (deprecated) existing syntax like:
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
8 {{{#!java ...
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
9 ...
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
10 }}}
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
11
4382
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
12 It is equivalent to the new way to highlight code:
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
13 {{{#!highlight java ...
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
14 ...
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
15 }}}
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
16
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
17 @copyright: 2008 MoinMoin:ThomasWaldmann
249
de46a69b9865 changed wrong license to intended one in Taesu Pyo's parser code contribution
Thomas Waldmann <tw@waldmann-edv.de>
parents: 0
diff changeset
18 @license: GNU GPL, see COPYING for details.
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
19 """
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
20
4382
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
21 from MoinMoin.parser.highlight import Parser as HighlightParser
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
22 from MoinMoin.parser.highlight import Dependencies
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
23
4382
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
24 class Parser(HighlightParser):
5eb02932f387 replace the python/pascal/java/cpp parser by a thin wrapper around the highlight parser (to keep syntax like {{{#python ... working)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3911
diff changeset
25 parsername = 'java' # Lexer name pygments recognizes
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
26