holistic-ruby 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.standard.yml +3 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +52 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +8 -0
- data/config/logging.rb +6 -0
- data/exe/holistic-ruby +6 -0
- data/holistic-ruby.gemspec +34 -0
- data/lib/holistic/application.rb +29 -0
- data/lib/holistic/background_process.rb +11 -0
- data/lib/holistic/database/table.rb +78 -0
- data/lib/holistic/document/cursor.rb +9 -0
- data/lib/holistic/document/file.rb +36 -0
- data/lib/holistic/document/location.rb +35 -0
- data/lib/holistic/document/unsaved/change.rb +24 -0
- data/lib/holistic/document/unsaved/collection.rb +21 -0
- data/lib/holistic/document/unsaved/record.rb +83 -0
- data/lib/holistic/extensions/events.rb +37 -0
- data/lib/holistic/extensions/ruby/stdlib.rb +43 -0
- data/lib/holistic/language_server/current.rb +11 -0
- data/lib/holistic/language_server/format/file_uri.rb +19 -0
- data/lib/holistic/language_server/lifecycle.rb +59 -0
- data/lib/holistic/language_server/message.rb +21 -0
- data/lib/holistic/language_server/protocol.rb +45 -0
- data/lib/holistic/language_server/request.rb +21 -0
- data/lib/holistic/language_server/requests/lifecycle/exit.rb +10 -0
- data/lib/holistic/language_server/requests/lifecycle/initialize.rb +75 -0
- data/lib/holistic/language_server/requests/lifecycle/initialized.rb +13 -0
- data/lib/holistic/language_server/requests/lifecycle/shutdown.rb +14 -0
- data/lib/holistic/language_server/requests/text_document/completion.rb +68 -0
- data/lib/holistic/language_server/requests/text_document/did_change.rb +30 -0
- data/lib/holistic/language_server/requests/text_document/did_close.rb +33 -0
- data/lib/holistic/language_server/requests/text_document/did_open.rb +16 -0
- data/lib/holistic/language_server/requests/text_document/did_save.rb +33 -0
- data/lib/holistic/language_server/requests/text_document/find_references.rb +52 -0
- data/lib/holistic/language_server/requests/text_document/go_to_definition.rb +64 -0
- data/lib/holistic/language_server/response.rb +39 -0
- data/lib/holistic/language_server/router.rb +48 -0
- data/lib/holistic/language_server/stdio/parser.rb +65 -0
- data/lib/holistic/language_server/stdio/server.rb +46 -0
- data/lib/holistic/language_server/stdio/start.rb +48 -0
- data/lib/holistic/ruby/autocompletion/suggest.rb +75 -0
- data/lib/holistic/ruby/parser/constant_resolution.rb +61 -0
- data/lib/holistic/ruby/parser/live_editing/process_file_changed.rb +62 -0
- data/lib/holistic/ruby/parser/nesting_syntax.rb +76 -0
- data/lib/holistic/ruby/parser/program_visitor.rb +205 -0
- data/lib/holistic/ruby/parser/table_of_contents.rb +17 -0
- data/lib/holistic/ruby/parser.rb +26 -0
- data/lib/holistic/ruby/reference/find_referenced_scope.rb +18 -0
- data/lib/holistic/ruby/reference/record.rb +13 -0
- data/lib/holistic/ruby/reference/register.rb +15 -0
- data/lib/holistic/ruby/reference/repository.rb +71 -0
- data/lib/holistic/ruby/reference/unregister.rb +11 -0
- data/lib/holistic/ruby/scope/kind.rb +11 -0
- data/lib/holistic/ruby/scope/list_references.rb +32 -0
- data/lib/holistic/ruby/scope/location.rb +43 -0
- data/lib/holistic/ruby/scope/outline.rb +52 -0
- data/lib/holistic/ruby/scope/record.rb +52 -0
- data/lib/holistic/ruby/scope/register.rb +31 -0
- data/lib/holistic/ruby/scope/repository.rb +49 -0
- data/lib/holistic/ruby/scope/unregister.rb +27 -0
- data/lib/holistic/ruby/type_inference/clue/method_call.rb +15 -0
- data/lib/holistic/ruby/type_inference/clue/scope_reference.rb +13 -0
- data/lib/holistic/ruby/type_inference/conclusion.rb +20 -0
- data/lib/holistic/ruby/type_inference/solve.rb +110 -0
- data/lib/holistic/ruby/type_inference/solve_pending_references.rb +13 -0
- data/lib/holistic/version.rb +5 -0
- data/lib/holistic.rb +27 -0
- metadata +158 -0
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: holistic-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Luiz Vasconcellos
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-08-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: syntax_tree
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '6.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: zeitwerk
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.6'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activesupport
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '7.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '7.0'
|
55
|
+
description: Static analysis for Ruby
|
56
|
+
email:
|
57
|
+
- luizpvasc@gmail.com
|
58
|
+
executables:
|
59
|
+
- holistic-ruby
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".rspec"
|
64
|
+
- ".standard.yml"
|
65
|
+
- Gemfile
|
66
|
+
- Gemfile.lock
|
67
|
+
- LICENSE.txt
|
68
|
+
- README.md
|
69
|
+
- Rakefile
|
70
|
+
- config/logging.rb
|
71
|
+
- exe/holistic-ruby
|
72
|
+
- holistic-ruby.gemspec
|
73
|
+
- lib/holistic.rb
|
74
|
+
- lib/holistic/application.rb
|
75
|
+
- lib/holistic/background_process.rb
|
76
|
+
- lib/holistic/database/table.rb
|
77
|
+
- lib/holistic/document/cursor.rb
|
78
|
+
- lib/holistic/document/file.rb
|
79
|
+
- lib/holistic/document/location.rb
|
80
|
+
- lib/holistic/document/unsaved/change.rb
|
81
|
+
- lib/holistic/document/unsaved/collection.rb
|
82
|
+
- lib/holistic/document/unsaved/record.rb
|
83
|
+
- lib/holistic/extensions/events.rb
|
84
|
+
- lib/holistic/extensions/ruby/stdlib.rb
|
85
|
+
- lib/holistic/language_server/current.rb
|
86
|
+
- lib/holistic/language_server/format/file_uri.rb
|
87
|
+
- lib/holistic/language_server/lifecycle.rb
|
88
|
+
- lib/holistic/language_server/message.rb
|
89
|
+
- lib/holistic/language_server/protocol.rb
|
90
|
+
- lib/holistic/language_server/request.rb
|
91
|
+
- lib/holistic/language_server/requests/lifecycle/exit.rb
|
92
|
+
- lib/holistic/language_server/requests/lifecycle/initialize.rb
|
93
|
+
- lib/holistic/language_server/requests/lifecycle/initialized.rb
|
94
|
+
- lib/holistic/language_server/requests/lifecycle/shutdown.rb
|
95
|
+
- lib/holistic/language_server/requests/text_document/completion.rb
|
96
|
+
- lib/holistic/language_server/requests/text_document/did_change.rb
|
97
|
+
- lib/holistic/language_server/requests/text_document/did_close.rb
|
98
|
+
- lib/holistic/language_server/requests/text_document/did_open.rb
|
99
|
+
- lib/holistic/language_server/requests/text_document/did_save.rb
|
100
|
+
- lib/holistic/language_server/requests/text_document/find_references.rb
|
101
|
+
- lib/holistic/language_server/requests/text_document/go_to_definition.rb
|
102
|
+
- lib/holistic/language_server/response.rb
|
103
|
+
- lib/holistic/language_server/router.rb
|
104
|
+
- lib/holistic/language_server/stdio/parser.rb
|
105
|
+
- lib/holistic/language_server/stdio/server.rb
|
106
|
+
- lib/holistic/language_server/stdio/start.rb
|
107
|
+
- lib/holistic/ruby/autocompletion/suggest.rb
|
108
|
+
- lib/holistic/ruby/parser.rb
|
109
|
+
- lib/holistic/ruby/parser/constant_resolution.rb
|
110
|
+
- lib/holistic/ruby/parser/live_editing/process_file_changed.rb
|
111
|
+
- lib/holistic/ruby/parser/nesting_syntax.rb
|
112
|
+
- lib/holistic/ruby/parser/program_visitor.rb
|
113
|
+
- lib/holistic/ruby/parser/table_of_contents.rb
|
114
|
+
- lib/holistic/ruby/reference/find_referenced_scope.rb
|
115
|
+
- lib/holistic/ruby/reference/record.rb
|
116
|
+
- lib/holistic/ruby/reference/register.rb
|
117
|
+
- lib/holistic/ruby/reference/repository.rb
|
118
|
+
- lib/holistic/ruby/reference/unregister.rb
|
119
|
+
- lib/holistic/ruby/scope/kind.rb
|
120
|
+
- lib/holistic/ruby/scope/list_references.rb
|
121
|
+
- lib/holistic/ruby/scope/location.rb
|
122
|
+
- lib/holistic/ruby/scope/outline.rb
|
123
|
+
- lib/holistic/ruby/scope/record.rb
|
124
|
+
- lib/holistic/ruby/scope/register.rb
|
125
|
+
- lib/holistic/ruby/scope/repository.rb
|
126
|
+
- lib/holistic/ruby/scope/unregister.rb
|
127
|
+
- lib/holistic/ruby/type_inference/clue/method_call.rb
|
128
|
+
- lib/holistic/ruby/type_inference/clue/scope_reference.rb
|
129
|
+
- lib/holistic/ruby/type_inference/conclusion.rb
|
130
|
+
- lib/holistic/ruby/type_inference/solve.rb
|
131
|
+
- lib/holistic/ruby/type_inference/solve_pending_references.rb
|
132
|
+
- lib/holistic/version.rb
|
133
|
+
homepage: https://github.com/luizpvas/holistic-ruby
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
|
+
metadata:
|
137
|
+
homepage_uri: https://github.com/luizpvas/holistic-ruby
|
138
|
+
source_code_uri: https://github.com/luizpvas/holistic-ruby
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 3.2.0
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubygems_version: 3.4.10
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: Static analysis for Ruby
|
158
|
+
test_files: []
|