Commit Graph

10 Commits

Author SHA1 Message Date
Dmitri Hrybenko
5ccee15360 ReST unittests: remove an empty test array, it is causing a -Wzero-length-array
warning


Swift SVN r17409
2014-05-04 23:46:04 +00:00
Doug Gregor
a30238b208 Add more missing #includes.
Swift SVN r17162
2014-05-01 16:16:29 +00:00
Dmitri Hrybenko
00722d4c2e Comment parsing: extract parameter name from the text in :param: field
Swift SVN r16750
2014-04-24 09:13:42 +00:00
Dmitri Hrybenko
b365285ae3 ReST parsing: add two more tests
Swift SVN r16516
2014-04-18 11:16:48 +00:00
Dmitri Hrybenko
68e8fee5fc Comment parsing: put more information into the generated XML documents
This commit adds infrastructure for conversion and testing it.

The conversion is still incomplete, pending discussion about which tags should
we use in the XML documents.  I copied the RelaxNG schema from Clang, and will
edit it accordingly.


Swift SVN r16451
2014-04-17 15:42:51 +00:00
Dmitri Hrybenko
3ad1f7783c ReST parser: add some tests for LineListRef, and fix a bug in
LineListRef::getLinePart() found by them


Swift SVN r15870
2014-04-03 15:35:24 +00:00
Dmitri Hrybenko
f370da96b1 ReST: make data in a LineList be owned by ReSTContext, so that users don't have
to carry all LineLists along with a ReSTContext.


Swift SVN r15863
2014-04-03 11:03:09 +00:00
Dmitri Hrybenko
44c7a737ce ReST tests: add a test and remove a test from comments that was already
implemented


Swift SVN r15419
2014-03-24 17:32:16 +00:00
Dmitri Hrybenko
8d59f36796 Implement a basic ReST parser on block level, producing a ReST AST
This parser does not recognize inline markup.


Swift SVN r15416
2014-03-24 16:33:43 +00:00
Dmitri Hrybenko
d51769b6a5 Implement some elements of a ReST parser
It does not yet understand a lot of ReST constructs, in particular, it does not
understand inline markup at all, but it is good enough to extract brief
comments.

The parser in BriefParser.cpp does not construct any ASTs or emit any warnings.
This is a special parser for brief comments that should be as fast as possible.
Real ReST parser will come later.


Swift SVN r15046
2014-03-14 13:03:19 +00:00