Results for: "slice"

No documentation available

Raised when the CRC checksum recorded in gzip file footer is not equivalent to the CRC checksum of the actual uncompressed data.

Raised when you try to write to a read-only buffer, or resize an external buffer.

Raised if you try to access a buffer slice which no longer references a valid memory range of the underlying source.

Class for representing HTTP method TRACE:

require 'net/http'
uri = URI('http://example.com')
hostname = uri.hostname # => "example.com"
req = Net::HTTP::Trace.new(uri) # => #<Net::HTTP::Trace TRACE>
res = Net::HTTP.start(hostname) do |http|
  http.request(req)
end

See Request Headers.

Properties:

Related:

Switch that takes an argument, which does not begin with ‘-’ or is ‘-’.

Ignored newlines can occasionally have a LABEL state attached to them, so we compare the state differently here.

An error class raised when dynamic parts are found while computing a constant path’s full name. For example: Foo::Bar::Baz -> does not raise because all parts of the constant path are simple constants var::Bar::Baz -> raises because the first part of the constant path is a local variable

The :line tracepoint event gets fired whenever the Ruby VM encounters an expression on a new line. The types of expressions that can trigger this event are:

In order to keep track of the newlines, we have a list of offsets that come back from the parser. We assign these offsets to the first nodes that we find in the tree that are on those lines.

Note that the logic in this file should be kept in sync with the Java MarkNewlinesVisitor, since that visitor is responsible for marking the newlines for JRuby/TruffleRuby.

This file is autoloaded only when ‘mark_newlines!` is called, so the re-opening of the various nodes in this file will only be performed in that case. We do that to avoid storing the extra `@newline` instance variable on every node if we don’t need it.

A node list field represents a list of child nodes in the syntax tree. It resolves to an array of Prism::Node instances in Ruby.

A constant list field represents a list of constant values on a node. It resolves to an array of symbols in Ruby.

Represents the source of a repository that will be reparsed.

A source that is represented by a file path.

A source that is represented by a string.

A field representing the start and end lines.

A field representing the trailing comments.

No documentation available

A DNS resource abstract class.

No documentation available

Searches for gems starting with the supplied argument.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Search took: 4ms  ·  Total Results: 1423