You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+55-47
Original file line number
Diff line number
Diff line change
@@ -4,98 +4,106 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
4
4
5
5
6
6
--------
7
-
###[0.10.7](N/A) - 2016-08-28
8
-
####Added
7
+
###[0.10.8](N/A) - 2016-09-02
8
+
#### Changed
9
+
* Updated dependency, switched jparser-data-type-like (now deprecated/removed) to jparse-primitive which is a separate project containing just the primitive parsing code from jparser-data-type-like
* Added better annotation parsing, including support for negative numbers as arguments
71
79
* Added CodeFragment which extends 'DocumentFragmentText<CodeFragmentType>' so don't have to keep typing that every time, updated most of the code to use CodeFragment
72
80
* Added OperatorUtil and Operator (with C# and Java implementation enums) similar to the existing Keyword enums
73
81
74
-
####Changed
82
+
####Changed
75
83
* Refactored how we use EnumSubSet and enum sub-categorization
76
84
* Added CodeFragmentEnumSubSet with is() and parse() methods which accept CodeFragment nodes (we were starting to duplicate this parsing code in Keyword and the new Operator class, so moved it to a reusable class)
77
85
* Removed KeywordUtil isXyzKeyword() and parseXyzKeyword() methods in favor of methods that return CodeFragmentEnumSubSet instances for each of the keyword categories (i.e. 'blockModifiers()' or 'operators()')
78
86
* Moved twg2.parser.codeParser extractor classes (i.e. AccessModifierExtractor or BlockExtractor) to new twg2.parser.codeParser.extractors package
79
87
80
-
####Fixed
88
+
####Fixed
81
89
* ParserWorkflow now generates and groups all results by destination file before writing (previously a writer was opened in overwrite mode for each destination group, thereby overwriting data written to the same file by a previous destination group during the same program execution)
* Added commented parsing for comments attached to methods and fields (future TODO: add comment parsing for comments attached to classes and namespaces)
88
96
89
-
####Changed
97
+
####Changed
90
98
* Renamed intermAst packages to 'twg2.ast.interm'
91
99
* Renamed most AST classes, removed 'interm' from the name
92
100
* Moved type resolution out of AST classes into new 'twg2.parser.resolver' classes (i.e. ClassSigResolver, FieldSigResolver, etc.)
93
101
* Created 'twg2.parser.language' package for code language management classes
Move from assuming that conditions can list the initial chars that match them (CharParser.WithMarks.getMatchFirstChars()) to CharParserMatchable and new getFirstCharMatcher() method which allows for a flexible definition of matching first chars
100
108
* Moved/renamed ParserWorkFlow SourceInfo and LoadResult \(renamed to SourceFiles) nested classes and ParserMain.getFilesByExtension() to [JFileIo] (https://github.com/TeamworkGuy2/JFileIo) library
101
109
* Moved twg2.parser.output JsonWrite and JsonWritable to JFileIO project's twg2.io.write package
@@ -105,33 +113,33 @@ Move from assuming that conditions can list the initial chars that match them (C
* Updated to latest version of JTextParser and JStreamish
111
119
* Switched from StringLineSupplier for reading lines from a source string to CharLineSupplier (slightly less garbage generated due to less conversion between strings and char arrays)
112
120
* By default, annotation arguments map is include in toJson() output even if empty
113
121
* ITrackSearchService.cs test file was using '\r' for newlines, replaced with '\n'
114
122
* Moved twg2.parser.test package to separate test directory
115
123
116
-
####Fixed
124
+
####Fixed
117
125
* Fixed toJson() not formatting generic types correctly
* Added Keyword interface for generic language keyword operations such as isKeyword(), isBlockModifierKeyword(), isDataTypeKeyword(), etc.
161
169
162
-
####Changed
170
+
####Changed
163
171
* Made interm parsing more generic, added a bunch of parser creator functions to AstExtractor. Converted some of the C# interm parsers into more generic parsers to be used by C# and Java (see BaseFieldExtractor, BaseMethodExtractor, BaseMethodParametersParser)
164
172
* Renamed getFullyQualifyingName() methods to getFullName(), (note: this may change again in future, possibly to getFqName())
165
173
* Moved and renamed ParserCondition, Precondition -> ParserFactory, TokenParserCondition -> TokenParser, CharParserCondition -> CharParser, and ParserStartChars to the [JTextParser] (https://github.com/TeamworkGuy2/JTextParser) project
*__Finished command line interface (CLI) argument parsing for ['sources', 'destinations', 'log'] and ParserWorkflow.__
179
187
180
-
####Changed
188
+
####Changed
181
189
* Simplified CodeFileSrc generic signature. Added interfaces and setup entire parsing process to be generic (added CodeLanguage.getExtractor() and AstExtractor interface).
182
190
* Refactored C# classes to support this more generic approach.
183
191
* Added Simple and Resolved sub-classes of ProjectClassSet. Renamed CsMain -> ParserMain.
184
192
* Added some additional EclipseClasspathFile/Utils methods for finding project dependencies.
185
193
186
-
####Removed
194
+
####Removed
187
195
* Removed IntermClass.getBlockTree(), it should be tracked higher up in the parsing process.
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
ParserToolsTmp
1
+
JParseCode
2
2
==============
3
-
version: 0.10.7
3
+
version: 0.10.8
4
4
5
5
In progress C#/Java/TypeScript parser tools built atop [JTextParser] (https://github.com/TeamworkGuy2/JTextParser), [Jackson] (https://github.com/FasterXML/jackson-core/) (core, databind, annotations) and half a dozen other utility libraries.
6
6
@@ -182,7 +182,7 @@ JSON Result (printed to System.out):
0 commit comments