Results for: "OptionParser"

Fetch the start line of the value.

Fetch the end byte offset of the value.

Fetch the start byte column of the value.

This is a hook to allow consumers to disable some errors if they don’t want them to block creating the syntax tree.

This is a hook to allow consumers to disable some warnings if they don’t want them to block creating the syntax tree.

Parses src and create S-exp tree. This method is mainly for developer use. The filename argument is mostly ignored. By default, this method does not handle syntax errors in src, returning nil in such cases. Use the raise_errors keyword to raise a SyntaxError for an error in src.

require "ripper"
require "pp"

pp Ripper.sexp_raw("def m(a) nil end")
  #=> [:program,
       [:stmts_add,
        [:stmts_new],
        [:def,
         [:@ident, "m", [1, 4]],
         [:paren, [:params, [[:@ident, "a", [1, 6]]], nil, nil, nil]],
         [:bodystmt,
          [:stmts_add, [:stmts_new], [:var_ref, [:@kw, "nil", [1, 9]]]],
          nil,
          nil,
          nil]]]]

Visit a list of elements, like the elements of an array or arguments.

This method is called when the parser found syntax error.

Get the registered number of the SvcParamKey.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Git binary path

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Search took: 6ms  ·  Total Results: 3731