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: README.md
+45-45
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
JParseCode
2
2
==============
3
-
version: 0.15.3
3
+
version: 0.15.4
4
4
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.
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
7
7
### Goals:
8
8
* A source code parser that can turn C#, Java, or JavaScript/TypeScript code into a simple AST like structure ('competent' meaning this project aims to support common use cases, not every syntatic feature of the supported languages).
@@ -18,60 +18,60 @@ Example:
18
18
19
19
Source Code (SimpleCs.cs):
20
20
```C#
21
-
namespaceParserExamples.Samples {
21
+
namespaceParserExamples.Samples {
22
22
23
-
/// <summary>
24
-
/// A simple class to test parsing.
25
-
/// </summary>
26
-
publicclassSimpleCs {
23
+
/// <summary>
24
+
/// A simple class to test parsing.
25
+
/// </summary>
26
+
publicclassSimpleCs {
27
27
28
-
/// <value>The modification count.</value>
29
-
privateintmod;
28
+
/// <value>The modification count.</value>
29
+
privateintmod;
30
30
31
-
/// <value>The name.</value>
32
-
privatestring_name;
31
+
/// <value>The name.</value>
32
+
privatestring_name;
33
33
34
-
/// <value>The names.</value>
35
-
publicIList<string> Names { get; }
34
+
/// <value>The names.</value>
35
+
publicIList<string> Names { get; }
36
36
37
-
/// <value>The number of names.</value>
38
-
publicintCount { set; }
37
+
/// <value>The number of names.</value>
38
+
publicintCount { set; }
39
39
40
-
/// <value>The access timestamps.</value>
41
-
publicDateTime[] accesses { set { this.mod++; this.accesses=value; } }
40
+
/// <value>The access timestamps.</value>
41
+
publicDateTime[] accesses { set { this.mod++; this.accesses=value; } }
42
42
43
-
/// <value>The access timestamps.</value>
44
-
publicstringname { get { this.mod++; returnthis._name; } set { this.mod++; this._name=value; } }
Where ./src/java/Server/** is where source files are kept
193
-
And the files in ./src/java/Server/Services belong to the C# namespace 'App.Services' and ./src/java/Server/Models/ belong to the C# namespace 'App.Entities'
193
+
And the files in ./src/java/Server/Services belong to the C# namespace `App.Services` and ./src/java/Server/Models/ belong to the C# namespace `App.Entities`
194
194
195
195
196
-
###Sources
196
+
#### Sources
197
197
A semicolon separated list of paths set equal to a directory depth followed by a comma and a comma separated, brackets wrapped, list of file extensions.
198
198
The path, child directory depth, and file extensions are used to create a file system filter and all matching files are parsed.
199
199
The following formats are valid:
@@ -202,18 +202,18 @@ The following formats are valid:
Note: the brackets around '[fileExt]' are literal.
205
+
Note: the brackets around the '[java,json]' file extension list are literal.
206
206
207
207
208
-
###Destinations
208
+
#### Destinations
209
209
A semicolon separated list of output file names associated with lists of namespaces. Each parsed file who's namespace falls into one of these lists is written to that file.
0 commit comments