yard2steep 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +52 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +68 -0
- data/LICENSE.txt +21 -0
- data/README.md +86 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/steep-check +8 -0
- data/bin/steep-gen +16 -0
- data/bin/steep-gen-check +7 -0
- data/example/sample1/lib/example1.rb +107 -0
- data/example/sample1/sig/example1.rbi +21 -0
- data/example/sample2/lib/2.rb +68 -0
- data/example/sample2/sig/2.rbi +25 -0
- data/exe/yard2steep +6 -0
- data/lib/yard2steep/ast/class_node.rb +95 -0
- data/lib/yard2steep/ast/constant_node.rb +21 -0
- data/lib/yard2steep/ast/i_var_node.rb +15 -0
- data/lib/yard2steep/ast/method_node.rb +21 -0
- data/lib/yard2steep/ast/p_node.rb +23 -0
- data/lib/yard2steep/ast/p_type_node.rb +26 -0
- data/lib/yard2steep/ast.rb +11 -0
- data/lib/yard2steep/cli/option.rb +27 -0
- data/lib/yard2steep/cli.rb +70 -0
- data/lib/yard2steep/engine.rb +23 -0
- data/lib/yard2steep/gen.rb +162 -0
- data/lib/yard2steep/parser.rb +584 -0
- data/lib/yard2steep/util.rb +11 -0
- data/lib/yard2steep/version.rb +3 -0
- data/lib/yard2steep.rb +9 -0
- data/sig/steep-scaffold/td.rbi +174 -0
- data/sig/yard2steep/yard2steep/ast/class_node.rbi +26 -0
- data/sig/yard2steep/yard2steep/ast/constant_node.rbi +8 -0
- data/sig/yard2steep/yard2steep/ast/i_var_node.rbi +5 -0
- data/sig/yard2steep/yard2steep/ast/method_node.rbi +9 -0
- data/sig/yard2steep/yard2steep/ast/p_node.rbi +8 -0
- data/sig/yard2steep/yard2steep/ast/p_type_node.rbi +10 -0
- data/sig/yard2steep/yard2steep/ast.rbi +0 -0
- data/sig/yard2steep/yard2steep/cli/option.rbi +12 -0
- data/sig/yard2steep/yard2steep/cli.rbi +9 -0
- data/sig/yard2steep/yard2steep/engine.rbi +3 -0
- data/sig/yard2steep/yard2steep/gen.rbi +15 -0
- data/sig/yard2steep/yard2steep/parser.rbi +52 -0
- data/sig/yard2steep/yard2steep/util.rbi +3 -0
- data/sig/yard2steep/yard2steep/version.rbi +1 -0
- data/sig/yard2steep/yard2steep.rbi +0 -0
- data/yard2steep.gemspec +29 -0
- metadata +164 -0
@@ -0,0 +1,174 @@
|
|
1
|
+
module Yard2steep::AST
|
2
|
+
end
|
3
|
+
|
4
|
+
class Yard2steep::Parser
|
5
|
+
@debug: any
|
6
|
+
@file: any
|
7
|
+
@ast: any
|
8
|
+
@stack: any
|
9
|
+
@state: any
|
10
|
+
@current_class: any
|
11
|
+
@p_types: any
|
12
|
+
@r_type: any
|
13
|
+
@m_name: any
|
14
|
+
def initialize: () -> any
|
15
|
+
def parse: (any, any, ?debug: bool) -> any
|
16
|
+
def reset_method_context!: () -> any
|
17
|
+
def parse_line: (any) -> any
|
18
|
+
def try_parse_comment: (any) -> bool
|
19
|
+
def try_parse_param_or_return: (any) -> void
|
20
|
+
def try_parse_end: (any) -> bool
|
21
|
+
def try_parse_postfix_if: (any) -> any
|
22
|
+
def try_parse_begin_end: (any) -> bool
|
23
|
+
def try_parse_class: (any) -> bool
|
24
|
+
def try_parse_constant: (any) -> bool
|
25
|
+
def try_parse_singleton_class: (any) -> bool
|
26
|
+
def try_parse_param: (any) -> bool
|
27
|
+
def try_parse_return: (any) -> bool
|
28
|
+
def try_parse_method: (any) -> bool
|
29
|
+
def try_parse_method_with_no_action: (any) -> bool
|
30
|
+
def parse_method_params: (any) -> any
|
31
|
+
def try_parse_attr: (any) -> bool
|
32
|
+
def push_state!: (any) -> any
|
33
|
+
def pop_state!: () -> void
|
34
|
+
def stack_is_empty?: () -> any
|
35
|
+
def type_node: (any) -> any
|
36
|
+
def debug_print!: (any, ?offset: Integer) -> void
|
37
|
+
def normalize_type: (any) -> any
|
38
|
+
def normalize_multi_type: (any) -> any
|
39
|
+
end
|
40
|
+
|
41
|
+
Yard2steep::Parser::S_RE: Regexp
|
42
|
+
Yard2steep::Parser::S_P_RE: Regexp
|
43
|
+
Yard2steep::Parser::PRE_RE: Regexp
|
44
|
+
Yard2steep::Parser::POST_RE: Regexp
|
45
|
+
Yard2steep::Parser::CLASS_RE: Regexp
|
46
|
+
Yard2steep::Parser::MODULE_RE: Regexp
|
47
|
+
Yard2steep::Parser::S_CLASS_RE: Regexp
|
48
|
+
Yard2steep::Parser::END_RE: Regexp
|
49
|
+
Yard2steep::Parser::CONSTANT_ASSIGN_RE: Regexp
|
50
|
+
Yard2steep::Parser::POSTFIX_IF_RE: Regexp
|
51
|
+
Yard2steep::Parser::BEGIN_END_RE: Regexp
|
52
|
+
Yard2steep::Parser::COMMENT_RE: Regexp
|
53
|
+
Yard2steep::Parser::TYPE_WITH_PAREN_RE: Regexp
|
54
|
+
Yard2steep::Parser::PARAM_RE: Regexp
|
55
|
+
Yard2steep::Parser::RETURN_RE: Regexp
|
56
|
+
Yard2steep::Parser::PAREN_RE: Regexp
|
57
|
+
Yard2steep::Parser::ARGS_RE: Regexp
|
58
|
+
Yard2steep::Parser::METHOD_RE: Regexp
|
59
|
+
Yard2steep::Parser::ATTR_RE: Regexp
|
60
|
+
Yard2steep::Parser::STATES: Hash<any, any>
|
61
|
+
Yard2steep::Parser::ANY_TYPE: String
|
62
|
+
Yard2steep::Parser::ANY_BLOCK_TYPE: String
|
63
|
+
Yard2steep::Parser::ARRAY_TYPE_RE: Regexp
|
64
|
+
Yard2steep::Parser::FIXED_ARRAY_TYPE_RE: Regexp
|
65
|
+
Yard2steep::Parser::HASH_TYPE_RE: Regexp
|
66
|
+
class Yard2steep::CLI
|
67
|
+
@option: any
|
68
|
+
@src_dir: any
|
69
|
+
@dst_dir: any
|
70
|
+
def initialize: (any) -> any
|
71
|
+
def run!: () -> any
|
72
|
+
def src_dir: () -> any
|
73
|
+
def dst_dir: () -> any
|
74
|
+
def traverse_dir!: (any) -> any
|
75
|
+
def translate!: (any) -> any
|
76
|
+
def self.run!: (any) -> any
|
77
|
+
end
|
78
|
+
|
79
|
+
class Yard2steep::CLI::Option
|
80
|
+
@src: any
|
81
|
+
@dst: any
|
82
|
+
@debug: bool
|
83
|
+
@debug_ast: bool
|
84
|
+
def initialize: () -> bool
|
85
|
+
def parse!: (any) -> void
|
86
|
+
end
|
87
|
+
|
88
|
+
class Yard2steep::Engine
|
89
|
+
def self.execute: (any, any, ?debug: bool, ?debug_ast: bool) -> any
|
90
|
+
end
|
91
|
+
|
92
|
+
module Yard2steep::Util
|
93
|
+
def self.assert!: { () -> any } -> void
|
94
|
+
end
|
95
|
+
|
96
|
+
class Yard2steep::Util::AssertError
|
97
|
+
end
|
98
|
+
|
99
|
+
class Yard2steep::AST::MethodNode
|
100
|
+
@p_list: any
|
101
|
+
@r_type: any
|
102
|
+
@m_name: any
|
103
|
+
def initialize: (m_name: any, p_list: any, r_type: any) -> any
|
104
|
+
end
|
105
|
+
|
106
|
+
class Yard2steep::AST::ClassNode
|
107
|
+
@kind: any
|
108
|
+
@c_name: any
|
109
|
+
@c_list: any
|
110
|
+
@m_list: any
|
111
|
+
@ivar_list: any
|
112
|
+
@children: any
|
113
|
+
@parent: any
|
114
|
+
@long_name: any
|
115
|
+
def initialize: (kind: any, c_name: any, parent: any) -> any
|
116
|
+
def append_constant: (any) -> any
|
117
|
+
def append_m: (any) -> any
|
118
|
+
def append_ivar: (any) -> any
|
119
|
+
def append_child: (any) -> any
|
120
|
+
def long_name: () -> any
|
121
|
+
def to_s: () -> any
|
122
|
+
def inspect: () -> String
|
123
|
+
def self.create_main: () -> any
|
124
|
+
end
|
125
|
+
|
126
|
+
Yard2steep::AST::ClassNode::KIND: Array<any>
|
127
|
+
class Yard2steep::AST::ConstantNode
|
128
|
+
@name: any
|
129
|
+
@klass: any
|
130
|
+
def initialize: (name: any, klass: any) -> any
|
131
|
+
def long_name: () -> String
|
132
|
+
end
|
133
|
+
|
134
|
+
class Yard2steep::AST::IVarNode
|
135
|
+
@name: any
|
136
|
+
def initialize: (name: any) -> any
|
137
|
+
end
|
138
|
+
|
139
|
+
class Yard2steep::AST::PTypeNode
|
140
|
+
@p_type: any
|
141
|
+
@p_name: any
|
142
|
+
@kind: any
|
143
|
+
def initialize: (p_type: any, p_name: any, kind: any) -> any
|
144
|
+
end
|
145
|
+
|
146
|
+
Yard2steep::AST::PTypeNode::KIND: Hash<any, any>
|
147
|
+
class Yard2steep::AST::PNode
|
148
|
+
@type_node: any
|
149
|
+
@style: any
|
150
|
+
def initialize: (type_node: any, style: any) -> any
|
151
|
+
end
|
152
|
+
|
153
|
+
Yard2steep::AST::PNode::STYLE: Hash<any, any>
|
154
|
+
module Yard2steep
|
155
|
+
end
|
156
|
+
|
157
|
+
Yard2steep::VERSION: String
|
158
|
+
class Yard2steep::Gen
|
159
|
+
@out: any
|
160
|
+
def initialize: () -> any
|
161
|
+
def gen: (any) -> any
|
162
|
+
def emit!: (any, ?off: Integer) -> any
|
163
|
+
def gen_child!: (any, off: any) -> any
|
164
|
+
def gen_m_list!: (any, off: any) -> any
|
165
|
+
def gen_ivar_list!: (any, off: any) -> any
|
166
|
+
def gen_c_list!: (any, off: any) -> any
|
167
|
+
def gen_children!: (any, off: any) -> any
|
168
|
+
def gen_c!: (any, off: any) -> any
|
169
|
+
def gen_m!: (any, off: any) -> any
|
170
|
+
def gen_p_list!: (any) -> void
|
171
|
+
def gen_block_p!: (any) -> any
|
172
|
+
def gen_m_p!: (any) -> any
|
173
|
+
end
|
174
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Yard2steep::AST::ClassNode
|
2
|
+
@kind: any
|
3
|
+
@c_name: any
|
4
|
+
@c_list: any
|
5
|
+
@m_list: any
|
6
|
+
@ivar_list: any
|
7
|
+
@children: any
|
8
|
+
@parent: any
|
9
|
+
def self.create_main: -> AST::ClassNode
|
10
|
+
def kind: -> any
|
11
|
+
def c_name: -> any
|
12
|
+
def c_list: -> any
|
13
|
+
def m_list: -> any
|
14
|
+
def ivar_list: -> any
|
15
|
+
def children: -> any
|
16
|
+
def parent: -> any
|
17
|
+
def initialize: (kind: String, c_name: String, parent: AST::ClassNode | nil) -> any
|
18
|
+
def append_constant: (AST::ConstantNode) -> void
|
19
|
+
def append_m: (AST::MethodNode) -> void
|
20
|
+
def append_ivar: (AST::IVarNode) -> void
|
21
|
+
def append_child: (AST::ClassNode) -> void
|
22
|
+
def long_name: -> String
|
23
|
+
def to_s: -> String
|
24
|
+
def inspect: -> String
|
25
|
+
end
|
26
|
+
Yard2steep::AST::ClassNode::KIND: any
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class Yard2steep::Gen
|
2
|
+
def initialize: -> any
|
3
|
+
def gen: (AST::ClassNode) -> String
|
4
|
+
def emit!: (String, ?off: Integer) -> void
|
5
|
+
def gen_child!: (AST::ClassNode, off: Integer) -> void
|
6
|
+
def gen_m_list!: (AST::ClassNode, off: Integer) -> void
|
7
|
+
def gen_ivar_list!: (AST::ClassNode, off: Integer) -> void
|
8
|
+
def gen_c_list!: (AST::ClassNode, off: Integer) -> void
|
9
|
+
def gen_children!: (AST::ClassNode, off: Integer) -> void
|
10
|
+
def gen_c!: (AST::ConstantNode, off: Integer) -> void
|
11
|
+
def gen_m!: (AST::MethodNode, off: Integer) -> void
|
12
|
+
def gen_p_list!: (Array<AST::PNode>) -> void
|
13
|
+
def gen_block_p!: (AST::PNode) -> void
|
14
|
+
def gen_m_p!: (AST::PNode) -> void
|
15
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
class Yard2steep::Parser
|
2
|
+
def initialize: -> any
|
3
|
+
def parse: (String, String, ?debug: bool) -> AST::ClassNode
|
4
|
+
def reset_method_context!: -> void
|
5
|
+
def parse_line: (String) -> void
|
6
|
+
def try_parse_comment: (String) -> bool
|
7
|
+
def try_parse_param_or_return: (String) -> bool
|
8
|
+
def try_parse_end: (String) -> bool
|
9
|
+
def try_parse_postfix_if: (String) -> bool
|
10
|
+
def try_parse_begin_end: (String) -> bool
|
11
|
+
def try_parse_class: (String) -> bool
|
12
|
+
def try_parse_constant: (String) -> bool
|
13
|
+
def try_parse_singleton_class: (String) -> bool
|
14
|
+
def try_parse_param: (String) -> bool
|
15
|
+
def try_parse_return: (String) -> bool
|
16
|
+
def try_parse_method: (String) -> bool
|
17
|
+
def try_parse_method_with_no_action: (String) -> bool
|
18
|
+
def parse_method_params: (String) -> Array<AST::PNode>
|
19
|
+
def try_parse_attr: (String) -> bool
|
20
|
+
def push_state!: (String) -> void
|
21
|
+
def pop_state!: -> void
|
22
|
+
def stack_is_empty?: -> bool
|
23
|
+
def type_node: (String) -> AST::PTypeNode
|
24
|
+
def debug_print!: (String, ?offset: Integer) -> void
|
25
|
+
def normalize_type: (String) -> String
|
26
|
+
def normalize_multi_type: (String) -> String
|
27
|
+
end
|
28
|
+
Yard2steep::Parser::S_RE: any
|
29
|
+
Yard2steep::Parser::S_P_RE: any
|
30
|
+
Yard2steep::Parser::PRE_RE: any
|
31
|
+
Yard2steep::Parser::POST_RE: any
|
32
|
+
Yard2steep::Parser::CLASS_RE: any
|
33
|
+
Yard2steep::Parser::MODULE_RE: any
|
34
|
+
Yard2steep::Parser::S_CLASS_RE: any
|
35
|
+
Yard2steep::Parser::END_RE: any
|
36
|
+
Yard2steep::Parser::CONSTANT_ASSIGN_RE: any
|
37
|
+
Yard2steep::Parser::POSTFIX_IF_RE: any
|
38
|
+
Yard2steep::Parser::BEGIN_END_RE: any
|
39
|
+
Yard2steep::Parser::COMMENT_RE: any
|
40
|
+
Yard2steep::Parser::TYPE_WITH_PAREN_RE: any
|
41
|
+
Yard2steep::Parser::PARAM_RE: any
|
42
|
+
Yard2steep::Parser::RETURN_RE: any
|
43
|
+
Yard2steep::Parser::PAREN_RE: any
|
44
|
+
Yard2steep::Parser::ARGS_RE: any
|
45
|
+
Yard2steep::Parser::METHOD_RE: any
|
46
|
+
Yard2steep::Parser::ATTR_RE: any
|
47
|
+
Yard2steep::Parser::STATES: any
|
48
|
+
Yard2steep::Parser::ANY_TYPE: any
|
49
|
+
Yard2steep::Parser::ANY_BLOCK_TYPE: any
|
50
|
+
Yard2steep::Parser::ARRAY_TYPE_RE: any
|
51
|
+
Yard2steep::Parser::FIXED_ARRAY_TYPE_RE: any
|
52
|
+
Yard2steep::Parser::HASH_TYPE_RE: any
|
@@ -0,0 +1 @@
|
|
1
|
+
Yard2steep::VERSION: any
|
File without changes
|
data/yard2steep.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "yard2steep/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "yard2steep"
|
8
|
+
spec.version = Yard2steep::VERSION
|
9
|
+
spec.authors = ["Nao Minami"]
|
10
|
+
spec.email = ["south37777@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Generate steep type definition from yard annotation.}
|
13
|
+
spec.description = %q{Generate steep type definition from yard annotation.}
|
14
|
+
spec.homepage = "https://github.com/south37/yard2steep"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.2"
|
27
|
+
spec.add_development_dependency "pry"
|
28
|
+
spec.add_development_dependency "steep", "0.4.0"
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yard2steep
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nao Minami
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: steep
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.0
|
83
|
+
description: Generate steep type definition from yard annotation.
|
84
|
+
email:
|
85
|
+
- south37777@gmail.com
|
86
|
+
executables:
|
87
|
+
- yard2steep
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".travis.yml"
|
93
|
+
- Gemfile
|
94
|
+
- Gemfile.lock
|
95
|
+
- LICENSE.txt
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- bin/console
|
99
|
+
- bin/setup
|
100
|
+
- bin/steep-check
|
101
|
+
- bin/steep-gen
|
102
|
+
- bin/steep-gen-check
|
103
|
+
- example/sample1/lib/example1.rb
|
104
|
+
- example/sample1/sig/example1.rbi
|
105
|
+
- example/sample2/lib/2.rb
|
106
|
+
- example/sample2/sig/2.rbi
|
107
|
+
- exe/yard2steep
|
108
|
+
- lib/yard2steep.rb
|
109
|
+
- lib/yard2steep/ast.rb
|
110
|
+
- lib/yard2steep/ast/class_node.rb
|
111
|
+
- lib/yard2steep/ast/constant_node.rb
|
112
|
+
- lib/yard2steep/ast/i_var_node.rb
|
113
|
+
- lib/yard2steep/ast/method_node.rb
|
114
|
+
- lib/yard2steep/ast/p_node.rb
|
115
|
+
- lib/yard2steep/ast/p_type_node.rb
|
116
|
+
- lib/yard2steep/cli.rb
|
117
|
+
- lib/yard2steep/cli/option.rb
|
118
|
+
- lib/yard2steep/engine.rb
|
119
|
+
- lib/yard2steep/gen.rb
|
120
|
+
- lib/yard2steep/parser.rb
|
121
|
+
- lib/yard2steep/util.rb
|
122
|
+
- lib/yard2steep/version.rb
|
123
|
+
- sig/steep-scaffold/td.rbi
|
124
|
+
- sig/yard2steep/yard2steep.rbi
|
125
|
+
- sig/yard2steep/yard2steep/ast.rbi
|
126
|
+
- sig/yard2steep/yard2steep/ast/class_node.rbi
|
127
|
+
- sig/yard2steep/yard2steep/ast/constant_node.rbi
|
128
|
+
- sig/yard2steep/yard2steep/ast/i_var_node.rbi
|
129
|
+
- sig/yard2steep/yard2steep/ast/method_node.rbi
|
130
|
+
- sig/yard2steep/yard2steep/ast/p_node.rbi
|
131
|
+
- sig/yard2steep/yard2steep/ast/p_type_node.rbi
|
132
|
+
- sig/yard2steep/yard2steep/cli.rbi
|
133
|
+
- sig/yard2steep/yard2steep/cli/option.rbi
|
134
|
+
- sig/yard2steep/yard2steep/engine.rbi
|
135
|
+
- sig/yard2steep/yard2steep/gen.rbi
|
136
|
+
- sig/yard2steep/yard2steep/parser.rbi
|
137
|
+
- sig/yard2steep/yard2steep/util.rbi
|
138
|
+
- sig/yard2steep/yard2steep/version.rbi
|
139
|
+
- yard2steep.gemspec
|
140
|
+
homepage: https://github.com/south37/yard2steep
|
141
|
+
licenses:
|
142
|
+
- MIT
|
143
|
+
metadata: {}
|
144
|
+
post_install_message:
|
145
|
+
rdoc_options: []
|
146
|
+
require_paths:
|
147
|
+
- lib
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
requirements: []
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 2.7.6
|
161
|
+
signing_key:
|
162
|
+
specification_version: 4
|
163
|
+
summary: Generate steep type definition from yard annotation.
|
164
|
+
test_files: []
|