-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ruby generation as example (#24)
Co-authored-by: Stanislav (Stas) Katkov <github@skatkov.com>
- Loading branch information
Showing
5,615 changed files
with
388,530 additions
and
7 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ | |
/tmp/ | ||
.vscode/ | ||
.DS_Store | ||
// file is just to big. | ||
example/ruby/index.csv |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "source_ruby"] | ||
path = source_ruby | ||
url = https://github.com/ruby/ruby |
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,4 +1,2 @@ | ||
--load ./lib/yard-markdown.rb | ||
--format markdown | ||
--private | ||
--protected |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Class: A | ||
**Inherits:** Object | ||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Module: ACRONYM | ||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Class: Action | ||
**Inherits:** Object | ||
|
||
|
||
|
||
|
||
# Attributes | ||
## value[RW] [](#attribute-i-value) | ||
Returns the value of attribute value. | ||
|
||
|
||
#Instance Methods | ||
## eql?(other) [](#method-i-eql?) | ||
|
||
**@return** [Boolean] | ||
|
||
## hash() [](#method-i-hash) | ||
|
||
## initialize(value) [](#method-i-initialize) | ||
|
||
**@return** [Action] a new instance of Action | ||
|
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Class: ActionFilter | ||
**Inherits:** Object | ||
|
||
|
||
ActionFilter is a base class for actions that are triggered by specs that | ||
match the filter. The filter may be specified by strings that match spec | ||
descriptions or by tags for strings that match spec descriptions. | ||
|
||
Unlike TagFilter and RegexpFilter, ActionFilter instances do not affect the | ||
specs that are run. The filter is only used to trigger the action. | ||
|
||
|
||
|
||
#Instance Methods | ||
## ===(string) [](#method-i-===) | ||
|
||
## initialize(tagsnil, descsnil) [](#method-i-initialize) | ||
|
||
**@return** [ActionFilter] a new instance of ActionFilter | ||
|
||
## load() [](#method-i-load) | ||
|
||
## register() [](#method-i-register) | ||
|
||
## unregister() [](#method-i-unregister) | ||
|
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Class: ActionMap | ||
**Inherits:** Object | ||
|
||
|
||
|
||
|
||
# Class Methods | ||
## build_tree(rects ) [](#method-c-build_tree) | ||
## each_firstbyte_range(prefix , region_rects ) [](#method-c-each_firstbyte_range) | ||
## expand(rects , &block ) [](#method-c-expand) | ||
## expand_rec(prefix , region_rects , &block ) [](#method-c-expand_rec) | ||
## merge(*mappings , &block ) [](#method-c-merge) | ||
## merge2(map1 , map2 , &block ) [](#method-c-merge2) | ||
## merge_rects(*rects_list ) [](#method-c-merge_rects) | ||
## parse(mapping ) [](#method-c-parse) | ||
## parse_to_rects(mapping ) [](#method-c-parse_to_rects) | ||
## unambiguous_action(actions0 ) [](#method-c-unambiguous_action) | ||
|
||
#Instance Methods | ||
## empty_action() [](#method-i-empty_action) | ||
|
||
## format_infos(infos) [](#method-i-format_infos) | ||
|
||
## format_offsets(min, max, offsets) [](#method-i-format_offsets) | ||
|
||
## gen_str(bytes) [](#method-i-gen_str) | ||
|
||
## generate_info(info) [](#method-i-generate_info) | ||
|
||
## generate_lookup_node(name, table) [](#method-i-generate_lookup_node) | ||
|
||
## generate_node(name_hintnil) [](#method-i-generate_node) | ||
|
||
## gennode(bytes_code, words_code, name_hintnil) [](#method-i-gennode) | ||
|
||
## initialize(tree) [](#method-i-initialize) | ||
|
||
**@return** [ActionMap] a new instance of ActionMap | ||
|
||
## inspect() [](#method-i-inspect) | ||
|
||
## max_input_length() [](#method-i-max_input_length) | ||
|
||
## max_input_length_rec(tree) [](#method-i-max_input_length_rec) | ||
|
||
## str_name(bytes) [](#method-i-str_name) | ||
|
Oops, something went wrong.