An absolutely silent IO
.
Shows surrounding kw/end pairs
The purpose of showing these extra pairs is due to cases of ambiguity when only one visible line is matched.
For example:
1 class Dog 2 def bark 4 def eat 5 end 6 end
In this case either line 2 could be missing an ‘end` or line 4 was an extra line added by mistake (it happens).
When we detect the above problem it shows the issue as only being on line 2
2 def bark
Showing “neighbor” keyword pairs gives extra context:
2 def bark 4 def eat 5 end
Example:
lines = BeforeAfterKeywordEnds.new( block: block, code_lines: code_lines ).call()
This is the JSON
generator implemented as a C extension. It can be configured to be used by setting
JSON.generator = JSON::Ext::Generator
with the method generator= in JSON
.
For detail, see the MSDN.
— HKEY_*
Predefined key ((*handle*)). These are Integer, not Win32::Registry.
— REG_*
Registry value type.
— KEY_*
Security access mask.
— KEY_OPTIONS_*
Key options.
If the key is created newly or opened existing key. See also Registry#disposition method.
This class mirrors the ::Ripper::SexpBuilder subclass of ::Ripper
that returns the arrays of [type, *children].
This class mirrors the ::Ripper::SexpBuilderPP subclass of ::Ripper
that returns the same values as ::Ripper::SexpBuilder except with a couple of niceties that flatten linked lists into arrays.
Indicates some other unhandled resolver error was encountered.
Raised when the tree is malformed or there is a bug in the compiler.