diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-23 02:18:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-23 02:18:52 +0000 |
commit | 96db72ce38b27799dd8e80ca00696e41234db6ba (patch) | |
tree | 4c210692772faf26ed8ddac746dc79aec0240e2d /parse.y | |
parent | b9d01e225723b3dfb6e18d0dcb790c20fef78d63 (diff) | |
download | ruby-96db72ce38b27799dd8e80ca00696e41234db6ba.tar.gz |
[DOC] missing docs at toplevel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -6069,6 +6069,13 @@ heredoc_dedent(struct parser_params *p, VALUE array) return array; } +/* + * call-seq: + * Ripper.dedent_string(input, width) -> string + * + * Strips leading +width+ whitespaces from +input+, and returns + * stripped column width. + */ static VALUE parser_dedent_string(VALUE self, VALUE input, VALUE width) { @@ -11309,6 +11316,12 @@ ripper_value(VALUE self, VALUE obj) } #endif +/* + * call-seq: + * Ripper.lex_state_name(integer) -> string + * + * Returns a string representation of lex_state. + */ static VALUE ripper_lex_state_name(VALUE self, VALUE state) { |