checkoff 0.223.0 → 0.225.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/cli.rb +1 -1
  4. data/lib/checkoff/clients.rb +1 -1
  5. data/lib/checkoff/custom_fields.rb +1 -1
  6. data/lib/checkoff/events.rb +1 -1
  7. data/lib/checkoff/internal/config_loader.rb +2 -3
  8. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
  9. data/lib/checkoff/my_tasks.rb +1 -1
  10. data/lib/checkoff/portfolios.rb +11 -9
  11. data/lib/checkoff/projects.rb +1 -1
  12. data/lib/checkoff/sections.rb +3 -4
  13. data/lib/checkoff/tags.rb +66 -17
  14. data/lib/checkoff/tasks.rb +1 -1
  15. data/lib/checkoff/version.rb +1 -1
  16. data/lib/checkoff/workspaces.rb +1 -1
  17. data/rbi/checkoff.rbi +4529 -0
  18. data/sig/checkoff.rbs +3749 -0
  19. metadata +4 -210
  20. data/.circleci/config.yml +0 -291
  21. data/.envrc +0 -9
  22. data/.git-hooks/pre_commit/circle_ci.rb +0 -26
  23. data/.git-hooks/pre_commit/punchlist.rb +0 -52
  24. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
  25. data/.gitattributes +0 -6
  26. data/.gitignore +0 -65
  27. data/.markdownlint_style.rb +0 -4
  28. data/.mdlrc +0 -1
  29. data/.overcommit.yml +0 -115
  30. data/.rubocop.yml +0 -143
  31. data/.rubocop_todo.yml +0 -90
  32. data/.solargraph.yml +0 -35
  33. data/.yamllint.yml +0 -8
  34. data/.yardopts +0 -2
  35. data/CODE_OF_CONDUCT.md +0 -133
  36. data/CONTRIBUTING.rst +0 -75
  37. data/DEVELOPMENT.md +0 -69
  38. data/GLOSSARY.md +0 -16
  39. data/Gemfile +0 -67
  40. data/Gemfile.lock +0 -351
  41. data/LICENSE +0 -21
  42. data/Makefile +0 -139
  43. data/bin/brakeman +0 -27
  44. data/bin/bump +0 -29
  45. data/bin/checkoff +0 -29
  46. data/bin/console +0 -15
  47. data/bin/overcommit +0 -29
  48. data/bin/overcommit_branch +0 -114
  49. data/bin/rake +0 -29
  50. data/bin/rubocop +0 -27
  51. data/bin/setup +0 -8
  52. data/bin/solargraph +0 -27
  53. data/bin/sord +0 -27
  54. data/bin/spoom +0 -27
  55. data/bin/srb +0 -27
  56. data/bin/srb-rbi +0 -27
  57. data/bin/tapioca +0 -27
  58. data/bin/yard +0 -27
  59. data/config/annotations_asana.rb +0 -253
  60. data/config/annotations_misc.rb +0 -68
  61. data/config/env.1p +0 -2
  62. data/docs/.gitignore +0 -3
  63. data/docs/cookiecutter_input.json +0 -17
  64. data/docs/example_project.png +0 -0
  65. data/fix.sh +0 -534
  66. data/metrics/bigfiles_high_water_mark +0 -1
  67. data/metrics/brakeman_high_water_mark +0 -1
  68. data/metrics/bundle-audit_high_water_mark +0 -1
  69. data/metrics/cane_high_water_mark +0 -1
  70. data/metrics/eslint_high_water_mark +0 -1
  71. data/metrics/flake8_high_water_mark +0 -1
  72. data/metrics/flay_high_water_mark +0 -1
  73. data/metrics/flog_high_water_mark +0 -1
  74. data/metrics/jscs_high_water_mark +0 -1
  75. data/metrics/mdl_high_water_mark +0 -1
  76. data/metrics/pep8_high_water_mark +0 -1
  77. data/metrics/punchlist_high_water_mark +0 -1
  78. data/metrics/pycodestyle_high_water_mark +0 -1
  79. data/metrics/rails_best_practices_high_water_mark +0 -1
  80. data/metrics/rubocop_high_water_mark +0 -1
  81. data/metrics/scalastyle_high_water_mark +0 -1
  82. data/metrics/shellcheck_high_water_mark +0 -1
  83. data/package.json +0 -9
  84. data/rakelib/citest.rake +0 -4
  85. data/rakelib/clear_metrics.rake +0 -9
  86. data/rakelib/console.rake +0 -15
  87. data/rakelib/default.rake +0 -4
  88. data/rakelib/doc.rake +0 -6
  89. data/rakelib/gem_tasks.rake +0 -3
  90. data/rakelib/localtest.rake +0 -4
  91. data/rakelib/overcommit.rake +0 -6
  92. data/rakelib/quality.rake +0 -4
  93. data/rakelib/repl.rake +0 -4
  94. data/rakelib/test.rake +0 -10
  95. data/rakelib/trigger_next_builds.rake +0 -7
  96. data/rakelib/undercover.rake +0 -8
  97. data/requirements_dev.txt +0 -2
  98. data/sorbet/config +0 -4
  99. data/sorbet/rbi/annotations/.gitattributes +0 -1
  100. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  101. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  102. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  103. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  104. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  105. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  106. data/sorbet/rbi/dsl/.gitattributes +0 -1
  107. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  108. data/sorbet/rbi/gems/.gitattributes +0 -1
  109. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  110. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  111. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  112. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  113. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  114. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  115. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  116. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  117. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  118. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  119. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  120. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  121. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  122. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  123. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  124. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  125. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  126. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
  127. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  128. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  129. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  130. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  131. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  132. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  133. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  134. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  135. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  136. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  137. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  138. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  139. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  140. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  141. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  142. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  143. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  144. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  145. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  146. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  147. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  148. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  149. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  150. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
  151. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  152. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  153. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  154. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  155. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  156. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  157. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  158. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  159. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  160. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  161. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  162. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  163. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  164. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  165. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  166. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  167. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  168. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  169. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  170. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  171. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  172. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  173. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  174. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  175. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  176. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  177. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  178. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  179. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  180. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  181. data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
  182. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  183. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  184. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  185. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  186. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  187. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  188. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  189. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  190. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  191. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  192. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  193. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  194. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  195. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  196. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
  197. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  198. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  199. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  200. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  201. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  202. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  203. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  204. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  205. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  206. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  207. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  208. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  209. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  210. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  211. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  212. data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
  213. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  214. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  215. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  216. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  217. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  218. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  219. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  220. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  221. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  222. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  223. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  224. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  225. data/sorbet/rbi/todo.rbi +0 -11
  226. data/sorbet/tapioca/config.yml +0 -13
  227. data/sorbet/tapioca/require.rb +0 -4
@@ -1,173 +0,0 @@
1
- # typed: strict
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `punchlist` gem.
5
- # Please instead update this file by running `bin/tapioca gem punchlist`.
6
-
7
-
8
- # XXX: need to include BUG in list
9
- # XXX: need to include BUG in my rubocop config
10
- #
11
- # source://punchlist//lib/punchlist/version.rb#5
12
- module Punchlist; end
13
-
14
- # Render a text format of offenses
15
- #
16
- # source://punchlist//lib/punchlist/renderer.rb#5
17
- class Punchlist::CliRenderer
18
- # source://punchlist//lib/punchlist/renderer.rb#6
19
- def render(output); end
20
- end
21
-
22
- # Configuration for punchlist gem
23
- #
24
- # source://punchlist//lib/punchlist/config.rb#5
25
- class Punchlist::Config
26
- # @return [Config] a new instance of Config
27
- #
28
- # source://punchlist//lib/punchlist/config.rb#18
29
- def initialize(source_file_globber:, regexp: T.unsafe(nil), glob: T.unsafe(nil), exclude: T.unsafe(nil)); end
30
-
31
- # Returns the value of attribute exclude.
32
- #
33
- # source://punchlist//lib/punchlist/config.rb#6
34
- def exclude; end
35
-
36
- # Returns the value of attribute glob.
37
- #
38
- # source://punchlist//lib/punchlist/config.rb#6
39
- def glob; end
40
-
41
- # Returns the value of attribute regexp.
42
- #
43
- # source://punchlist//lib/punchlist/config.rb#6
44
- def regexp; end
45
-
46
- # source://punchlist//lib/punchlist/config.rb#12
47
- def source_files; end
48
-
49
- class << self
50
- # source://punchlist//lib/punchlist/config.rb#8
51
- def default_punchlist_line_regexp_string; end
52
- end
53
- end
54
-
55
- # Inspects files for punchlist items
56
- #
57
- # source://punchlist//lib/punchlist/inspector.rb#7
58
- class Punchlist::Inspector
59
- # @param punchlist_line_regexp [Regexp] a regular expression that matches punchlist items
60
- # @param filename [String] the file to inspect
61
- # @param file_opener [Class<File>] an object that responds to `open` like `File`
62
- # @return [Inspector] a new instance of Inspector
63
- #
64
- # source://punchlist//lib/punchlist/inspector.rb#11
65
- def initialize(punchlist_line_regexp, filename, file_opener: T.unsafe(nil)); end
66
-
67
- # @return [Array<Offense>] punchlist items for the specified file
68
- #
69
- # source://punchlist//lib/punchlist/inspector.rb#20
70
- def run; end
71
-
72
- private
73
-
74
- # @return [String]
75
- #
76
- # source://punchlist//lib/punchlist/inspector.rb#33
77
- def filename; end
78
-
79
- # Inspects a line for punchlist items and stores it in this objects state
80
- #
81
- # @param line [String] the line to inspect
82
- # @return [void]
83
- #
84
- # source://punchlist//lib/punchlist/inspector.rb#39
85
- def inspect_line(line); end
86
-
87
- # @return [Regexp]
88
- #
89
- # source://punchlist//lib/punchlist/inspector.rb#30
90
- def punchlist_line_regexp; end
91
- end
92
-
93
- # Represents a discovered punchlist item in code
94
- #
95
- # source://punchlist//lib/punchlist/offense.rb#5
96
- class Punchlist::Offense
97
- # @return [Offense] a new instance of Offense
98
- #
99
- # source://punchlist//lib/punchlist/offense.rb#7
100
- def initialize(filename, line_num, line); end
101
-
102
- # source://punchlist//lib/punchlist/offense.rb#13
103
- def ==(other); end
104
-
105
- # Returns the value of attribute filename.
106
- #
107
- # source://punchlist//lib/punchlist/offense.rb#6
108
- def filename; end
109
-
110
- # Returns the value of attribute line.
111
- #
112
- # source://punchlist//lib/punchlist/offense.rb#6
113
- def line; end
114
-
115
- # Returns the value of attribute line_num.
116
- #
117
- # source://punchlist//lib/punchlist/offense.rb#6
118
- def line_num; end
119
-
120
- protected
121
-
122
- # source://punchlist//lib/punchlist/offense.rb#19
123
- def state; end
124
- end
125
-
126
- # Parse command line options
127
- #
128
- # source://punchlist//lib/punchlist/option_parser.rb#9
129
- class Punchlist::OptionParser
130
- # @return [OptionParser] a new instance of OptionParser
131
- #
132
- # source://punchlist//lib/punchlist/option_parser.rb#12
133
- def initialize(args, source_finder_option_parser: T.unsafe(nil)); end
134
-
135
- # Returns the value of attribute default_punchlist_line_regexp.
136
- #
137
- # source://punchlist//lib/punchlist/option_parser.rb#10
138
- def default_punchlist_line_regexp; end
139
-
140
- # source://punchlist//lib/punchlist/option_parser.rb#34
141
- def generate_config(source_file_globber); end
142
-
143
- # source://punchlist//lib/punchlist/option_parser.rb#18
144
- def parse_regexp(opts, options); end
145
-
146
- # source://punchlist//lib/punchlist/option_parser.rb#26
147
- def setup_options(opts); end
148
- end
149
-
150
- # Counts the number of 'todo' comments in your code.
151
- #
152
- # source://punchlist//lib/punchlist.rb#12
153
- class Punchlist::Punchlist
154
- # @return [Punchlist] a new instance of Punchlist
155
- #
156
- # source://punchlist//lib/punchlist.rb#13
157
- def initialize(args, outputter: T.unsafe(nil), option_parser_class: T.unsafe(nil), source_file_globber: T.unsafe(nil)); end
158
-
159
- # source://punchlist//lib/punchlist.rb#28
160
- def analyze_files; end
161
-
162
- # source://punchlist//lib/punchlist.rb#36
163
- def look_for_punchlist_items(filename); end
164
-
165
- # source://punchlist//lib/punchlist.rb#40
166
- def render(output); end
167
-
168
- # source://punchlist//lib/punchlist.rb#22
169
- def run; end
170
- end
171
-
172
- # source://punchlist//lib/punchlist/version.rb#6
173
- Punchlist::VERSION = T.let(T.unsafe(nil), String)
@@ -1,162 +0,0 @@
1
- # typed: strict
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `racc` gem.
5
- # Please instead update this file by running `bin/tapioca gem racc`.
6
-
7
-
8
- # source://racc//lib/racc/parser.rb#19
9
- ParseError = Racc::ParseError
10
-
11
- # source://racc//lib/racc/info.rb#17
12
- Racc::Copyright = T.let(T.unsafe(nil), String)
13
-
14
- # source://racc//lib/racc/parser.rb#184
15
- class Racc::Parser
16
- # source://racc//lib/racc/parser.rb#279
17
- def _racc_do_parse_rb(arg, in_debug); end
18
-
19
- # source://racc//lib/racc/parser.rb#479
20
- def _racc_do_reduce(arg, act); end
21
-
22
- # common
23
- #
24
- # source://racc//lib/racc/parser.rb#382
25
- def _racc_evalact(act, arg); end
26
-
27
- # source://racc//lib/racc/parser.rb#232
28
- def _racc_init_sysvars; end
29
-
30
- # source://racc//lib/racc/parser.rb#220
31
- def _racc_setup; end
32
-
33
- # source://racc//lib/racc/parser.rb#329
34
- def _racc_yyparse_rb(recv, mid, arg, c_debug); end
35
-
36
- # source://racc//lib/racc/parser.rb#262
37
- def do_parse; end
38
-
39
- # The method to fetch next token.
40
- # If you use #do_parse method, you must implement #next_token.
41
- #
42
- # The format of return value is [TOKEN_SYMBOL, VALUE].
43
- # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
44
- # for 'IDENT'. ";" (String) for ';'.
45
- #
46
- # The final symbol (End of file) must be false.
47
- #
48
- # @raise [NotImplementedError]
49
- #
50
- # source://racc//lib/racc/parser.rb#275
51
- def next_token; end
52
-
53
- # This method is called when a parse error is found.
54
- #
55
- # ERROR_TOKEN_ID is an internal ID of token which caused error.
56
- # You can get string representation of this ID by calling
57
- # #token_to_str.
58
- #
59
- # ERROR_VALUE is a value of error token.
60
- #
61
- # value_stack is a stack of symbol values.
62
- # DO NOT MODIFY this object.
63
- #
64
- # This method raises ParseError by default.
65
- #
66
- # If this method returns, parsers enter "error recovering mode".
67
- #
68
- # @raise [ParseError]
69
- #
70
- # source://racc//lib/racc/parser.rb#535
71
- def on_error(t, val, vstack); end
72
-
73
- # source://racc//lib/racc/parser.rb#584
74
- def racc_accept; end
75
-
76
- # source://racc//lib/racc/parser.rb#589
77
- def racc_e_pop(state, tstack, vstack); end
78
-
79
- # source://racc//lib/racc/parser.rb#596
80
- def racc_next_state(curstate, state); end
81
-
82
- # source://racc//lib/racc/parser.rb#602
83
- def racc_print_stacks(t, v); end
84
-
85
- # source://racc//lib/racc/parser.rb#611
86
- def racc_print_states(s); end
87
-
88
- # For debugging output
89
- #
90
- # source://racc//lib/racc/parser.rb#558
91
- def racc_read_token(t, tok, val); end
92
-
93
- # source://racc//lib/racc/parser.rb#571
94
- def racc_reduce(toks, sim, tstack, vstack); end
95
-
96
- # source://racc//lib/racc/parser.rb#565
97
- def racc_shift(tok, tstack, vstack); end
98
-
99
- # source://racc//lib/racc/parser.rb#618
100
- def racc_token2str(tok); end
101
-
102
- # Convert internal ID of token symbol to the string.
103
- #
104
- # source://racc//lib/racc/parser.rb#624
105
- def token_to_str(t); end
106
-
107
- # Exit parser.
108
- # Return value is +Symbol_Value_Stack[0]+.
109
- #
110
- # source://racc//lib/racc/parser.rb#548
111
- def yyaccept; end
112
-
113
- # Leave error recovering mode.
114
- #
115
- # source://racc//lib/racc/parser.rb#553
116
- def yyerrok; end
117
-
118
- # Enter error recovering mode.
119
- # This method does not call #on_error.
120
- #
121
- # source://racc//lib/racc/parser.rb#542
122
- def yyerror; end
123
-
124
- # source://racc//lib/racc/parser.rb#324
125
- def yyparse(recv, mid); end
126
-
127
- class << self
128
- # source://racc//lib/racc/parser.rb#216
129
- def racc_runtime_type; end
130
- end
131
- end
132
-
133
- # source://racc//lib/racc/parser.rb#205
134
- Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
135
-
136
- Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
137
-
138
- # source://racc//lib/racc/parser.rb#207
139
- Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
140
-
141
- Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
142
-
143
- # source://racc//lib/racc/parser.rb#187
144
- Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
145
-
146
- # source://racc//lib/racc/parser.rb#208
147
- Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
148
-
149
- # source://racc//lib/racc/parser.rb#186
150
- Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
151
-
152
- # source://racc//lib/racc/parser.rb#206
153
- Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
154
-
155
- # source://racc//lib/racc/parser.rb#181
156
- Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
157
-
158
- # source://racc//lib/racc/info.rb#15
159
- Racc::VERSION = T.let(T.unsafe(nil), String)
160
-
161
- # source://racc//lib/racc/info.rb#16
162
- Racc::Version = T.let(T.unsafe(nil), String)