Crate advreader

Source
Expand description

advreader is a simple library crate offering an iterator which splits a file into

  • text sequences, separated by characters with ASCII codes <=32 and >=127.
  • strings with double quotes as delimiters.
  • line comments with ‘//’ as start sequence.
  • comment blocks with ‘/’ as start sequence and ‘/’ as end sequence.

Results can be obatined through the next method. Property line_nr provides the current line in the text file.

Re-exports§

pub use block::Block;

Modules§

block

Structs§

AdvReader
Provides iteration over bytes or utf8 string of words, strings and (line) comments.
AdvReaderIter
Iterator implementation of AdvReader to provide Iterator APIs.
AdvReaderOptions
AdvReaderThread

Enums§

AdvReturnValue
ReaderState
Source

Type Aliases§

FnBlockReturnType
FnReadBlockType