Results for: "partition"

Returns the column number in code units for the given encoding for the given byte offset.

Returns the offset from the start of the file for the given byte offset counting in code units for the given encoding.

This method is tested with UTF-8, UTF-16, and UTF-32. If there is the concept of code units that differs from the number of characters in other encodings, it is not captured here.

Returns a cache that is the identity function in order to maintain the same interface. We can do this because code units are always equivalent to byte offsets for ASCII-only sources.

Specialized version of ‘code_units_column` that does not depend on `code_units_offset`, which is a more expensive operation. This is essentially the same as `Prism::Source#column`.

The character offset from the beginning of the source where this location ends.

The column number in characters where this location ends from the start of the line.

Create a code units cache for the given encoding.

Compile a name associated with a constant.

Visits the child nodes of ‘node` by calling `accept` on each one.

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

Read a single encoding valid character from the input.

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: 4702