GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs.rs
  • rustpython-parser-0.4.0
  • Docs.rs crate page
  • MIT
  • Repository
  • crates.io
  • Source
  • coolreader18
  • windelbouwman
  • github:rustpython:packaging
  • is-macro ^0.3.0 normal
  • itertools ^0.11.0 normal
  • lalrpop-util ^0.20.0 normal
  • log ^0.4.16 normal

This view

  • Original page
  • New address

GeezerVison is showing docs.rs — rustpython_parser::source_code - Rust

rustpython_parser

Module source_code 

Source

Structs§

LineIndex
Index for fast byte offset to SourceLocation conversions.
LinearLocator
Converts source code byte-offset to Python convention line and column numbers.
LocatedError
OneIndexed
Type-safe wrapper for a value whose logical range starts at 1, for instance the line or column numbers in a file
RandomLocator
Converts source code byte-offset to Python convention line and column numbers.
SourceCode
Gives access to the source code of a file and allows mapping between TextSize and SourceLocation.
SourceLocation
SourceRange
UniversalNewlineIterator
Like str, but accommodates LF, CRLF, and CR line endings, the latter of which are not supported by str.

Functions§

find_newline
Finds the next newline character. Returns its position and the LineEnding.

Type Aliases§

LineNumber
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.