syntax_tree 1.2.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gh-pages.yml +26 -0
- data/.github/workflows/main.yml +9 -1
- data/.gitignore +2 -1
- data/CHANGELOG.md +47 -6
- data/Gemfile.lock +7 -5
- data/README.md +273 -32
- data/bin/bench +11 -11
- data/bin/console +3 -3
- data/bin/profile +3 -3
- data/doc/logo.svg +284 -0
- data/exe/stree +1 -0
- data/lib/syntax_tree/cli.rb +122 -49
- data/lib/syntax_tree/formatter.rb +71 -0
- data/lib/syntax_tree/language_server/inlay_hints.rb +77 -0
- data/lib/syntax_tree/language_server.rb +99 -0
- data/lib/syntax_tree/node.rb +9376 -0
- data/lib/syntax_tree/parser.rb +3223 -0
- data/lib/syntax_tree/version.rb +2 -4
- data/lib/syntax_tree/visitor/json_visitor.rb +1335 -0
- data/lib/syntax_tree/visitor/pretty_print_visitor.rb +1213 -0
- data/lib/syntax_tree/visitor.rb +548 -0
- data/lib/syntax_tree.rb +21 -13956
- metadata +13 -4
- data/bin/setup +0 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syntax_tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Newton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,6 +75,7 @@ extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- ".github/dependabot.yml"
|
78
|
+
- ".github/workflows/gh-pages.yml"
|
78
79
|
- ".github/workflows/main.yml"
|
79
80
|
- ".gitignore"
|
80
81
|
- CHANGELOG.md
|
@@ -87,12 +88,20 @@ files:
|
|
87
88
|
- bin/bench
|
88
89
|
- bin/console
|
89
90
|
- bin/profile
|
90
|
-
-
|
91
|
+
- doc/logo.svg
|
91
92
|
- exe/stree
|
92
93
|
- lib/syntax_tree.rb
|
93
94
|
- lib/syntax_tree/cli.rb
|
95
|
+
- lib/syntax_tree/formatter.rb
|
96
|
+
- lib/syntax_tree/language_server.rb
|
97
|
+
- lib/syntax_tree/language_server/inlay_hints.rb
|
98
|
+
- lib/syntax_tree/node.rb
|
99
|
+
- lib/syntax_tree/parser.rb
|
94
100
|
- lib/syntax_tree/prettyprint.rb
|
95
101
|
- lib/syntax_tree/version.rb
|
102
|
+
- lib/syntax_tree/visitor.rb
|
103
|
+
- lib/syntax_tree/visitor/json_visitor.rb
|
104
|
+
- lib/syntax_tree/visitor/pretty_print_visitor.rb
|
96
105
|
- syntax_tree.gemspec
|
97
106
|
homepage: https://github.com/kddnewton/syntax_tree
|
98
107
|
licenses:
|
@@ -114,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
123
|
- !ruby/object:Gem::Version
|
115
124
|
version: '0'
|
116
125
|
requirements: []
|
117
|
-
rubygems_version: 3.3.
|
126
|
+
rubygems_version: 3.3.3
|
118
127
|
signing_key:
|
119
128
|
specification_version: 4
|
120
129
|
summary: A parser based on ripper
|