2011-08-31 17:09:25 +00:00
|
|
|
SourceFile ->
|
|
|
|
(Block / DocBlock / CodeBlock)+
|
2011-08-23 21:26:02 +00:00
|
|
|
|
2011-08-31 17:09:25 +00:00
|
|
|
Block ->
|
|
|
|
DocBlock CodeBlock
|
2011-08-23 21:26:02 +00:00
|
|
|
|
2011-08-31 17:09:25 +00:00
|
|
|
DocBlock ->
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
(SDocBlock / MDocBlock)
|
2011-08-26 20:40:56 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
SDocBlock ->
|
|
|
|
(SDirective / SDocText)+
|
2011-08-25 12:13:39 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
MDocBlock ->
|
|
|
|
MDOC_START (!MDOC_END / MDirective / MDocText)* MDOC_END
|
2011-08-29 14:44:05 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
CodeBlock ->
|
|
|
|
(RemainingCodeLine)+
|
2011-08-25 12:47:01 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
SDirective ->
|
|
|
|
SDocLineStart AT (SLongDirective / SShortDirective)
|
2011-08-25 12:13:39 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
MDirective ->
|
|
|
|
MDocLineStart? AT (MLongDirective / MShortDirective)
|
2011-08-26 20:40:56 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
SLongDirective ->
|
|
|
|
("api" / "example") RemainingSDocLine SDocText?
|
|
|
|
|
|
|
|
MLongDirective ->
|
|
|
|
("api" / "example") RemainingMDocLine MDocText?
|
|
|
|
|
|
|
|
SShortDirective ->
|
|
|
|
("author" / "org" / "copyright") RemainingSDocLine
|
|
|
|
|
|
|
|
MShortDirective ->
|
|
|
|
("author" / "org" / "copyright") RemainingMDocLine
|
|
|
|
|
|
|
|
SDocText ->
|
|
|
|
(SDocLineStart !AT RemainingSDocLine)+
|
|
|
|
|
|
|
|
MDocText ->
|
|
|
|
(MDocLineStart? !AT RemainingMDocLine)+
|
|
|
|
|
|
|
|
SDocLineStart ->
|
|
|
|
SPACE* SDOC_START SPACE?
|
|
|
|
|
|
|
|
MDocLineStart ->
|
|
|
|
SPACE* !MDOC_END MDOC_LINE_START SPACE?
|
|
|
|
|
|
|
|
RemainingSDocLine ->
|
|
|
|
((!EOL)* EOL) / ((!EOL)+ EOI)
|
|
|
|
|
|
|
|
RemainingMDocLine ->
|
|
|
|
((!(EOL / MDOC_END))* EOL) / ((!MDOC_END)+)
|
2011-08-26 20:40:56 +00:00
|
|
|
|
Support for multi=line comments, detects file type.
* Added support for multi-line comments to the JLPPegParser grammar
implementation.
* Added a Java sample file.
* Updated test script to add convenience functions for the java test file and
for using a TracingParseRunner for parse runs.
* Added an option, `--css-file`, to allow the caller to specify their own css
file.
* Added basic logic to the Processor class to detect source file types and build
a parser and a generator for that source type. Support currently exists for
the following languages: C (.c, .h), C++ (.cpp, .c++, .hpp, .h++), Erlang
(.erl), Groovy (.groovy), Java (.java), JavaScript (.js).
2011-12-26 04:07:48 +00:00
|
|
|
RemainingCodeLine ->
|
|
|
|
((!(EOL / MDOC_START / SDocLineStart))* EOL) /
|
|
|
|
(!(MDOC_START / SDocLineStart))+
|