forked from ruby/lrama
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rbs-inline styled type definition
- Loading branch information
Showing
2 changed files
with
46 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,41 @@ | ||
# Generated from lib/lrama/options.rb with RBS::Inline | ||
|
||
module Lrama | ||
# Command line options. | ||
class Options | ||
attr_accessor skeleton: String | ||
attr_accessor define: Hash[String, String] | ||
|
||
attr_accessor header: bool | ||
attr_accessor header_file: String? | ||
attr_accessor report_file: String? | ||
|
||
attr_accessor header_file: String | ||
|
||
attr_accessor report_file: String | ||
|
||
attr_accessor outfile: String | ||
|
||
attr_accessor error_recovery: bool | ||
attr_accessor grammar_file: String? | ||
|
||
attr_accessor grammar_file: String | ||
|
||
attr_accessor trace_opts: Hash[Symbol, bool]? | ||
|
||
attr_accessor report_opts: Hash[Symbol, bool]? | ||
|
||
attr_accessor diagnostic: bool | ||
|
||
attr_accessor y: IO | ||
|
||
attr_accessor debug: bool | ||
|
||
attr_accessor define: Hash[String, String] | ||
|
||
attr_accessor diagram: bool | ||
|
||
attr_accessor diagram_file: String | ||
|
||
attr_accessor profile_opts: Hash[Symbol, bool]? | ||
|
||
# @rbs () -> void | ||
def initialize: () -> void | ||
end | ||
end |