From a83488aae453f1bf01cfb5507317acf0b9ddfb82 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 03:55:20 +0400 Subject: Implement section parsing. --- test/data/comments/emptySection.kt | 6 ++++++ test/data/comments/emptySectionOnOneLine.kt | 2 ++ test/data/comments/multilineSection.kt | 7 +++++++ test/data/comments/section1.kt | 5 +++++ test/data/comments/section2.kt | 6 ++++++ test/data/comments/sectionOnOneLine.kt | 2 ++ 6 files changed, 28 insertions(+) create mode 100644 test/data/comments/emptySection.kt create mode 100644 test/data/comments/emptySectionOnOneLine.kt create mode 100644 test/data/comments/multilineSection.kt create mode 100644 test/data/comments/section1.kt create mode 100644 test/data/comments/section2.kt create mode 100644 test/data/comments/sectionOnOneLine.kt (limited to 'test/data/comments') diff --git a/test/data/comments/emptySection.kt b/test/data/comments/emptySection.kt new file mode 100644 index 00000000..0e618b2a --- /dev/null +++ b/test/data/comments/emptySection.kt @@ -0,0 +1,6 @@ + +/** + * Summary + * $one + */ +val property = "test" \ No newline at end of file diff --git a/test/data/comments/emptySectionOnOneLine.kt b/test/data/comments/emptySectionOnOneLine.kt new file mode 100644 index 00000000..4bb6c6f6 --- /dev/null +++ b/test/data/comments/emptySectionOnOneLine.kt @@ -0,0 +1,2 @@ +/** Summary $one*/ +val property = "test" \ No newline at end of file diff --git a/test/data/comments/multilineSection.kt b/test/data/comments/multilineSection.kt new file mode 100644 index 00000000..be83b641 --- /dev/null +++ b/test/data/comments/multilineSection.kt @@ -0,0 +1,7 @@ +/** + * Summary + * $one + * line one + * line two + */ +val property = "test" \ No newline at end of file diff --git a/test/data/comments/section1.kt b/test/data/comments/section1.kt new file mode 100644 index 00000000..0a27d394 --- /dev/null +++ b/test/data/comments/section1.kt @@ -0,0 +1,5 @@ +/** + * Summary + * $one section one + */ +val property = "test" \ No newline at end of file diff --git a/test/data/comments/section2.kt b/test/data/comments/section2.kt new file mode 100644 index 00000000..a34aa853 --- /dev/null +++ b/test/data/comments/section2.kt @@ -0,0 +1,6 @@ +/** + * Summary + * $one section one + * $two section two + */ +val property = "test" \ No newline at end of file diff --git a/test/data/comments/sectionOnOneLine.kt b/test/data/comments/sectionOnOneLine.kt new file mode 100644 index 00000000..cab5c69c --- /dev/null +++ b/test/data/comments/sectionOnOneLine.kt @@ -0,0 +1,2 @@ +/** Summary $one same line */ +val property = "test" \ No newline at end of file -- cgit