Method | Description | |
---|---|---|
Copy ( int start, int end ) : string |
Copies a range from the source
|
|
LineReader ( string filePath, IEnumerable |
Ctor.
|
|
LineReader ( string filePath, string source ) : System |
Ctor.
|
|
LineReader ( string filePath, string source, IEnumerable |
Ctor.
|
|
Peek ( ) : int |
Unfiltered look ahead
|
|
PutBack ( ) : void |
Backs the current position up one.
|
|
Read ( ) : int |
Filtered read of the next source char. Counters are incremented. NewLine sequences (CR/LF, LF, CR) are normalized to LF. |
Method | Description | |
---|---|---|
CopyRead ( int ©Position ) : int |
Read for Copying (doesn't reset line.col counters)
|
|
Dispose ( bool disposing ) : void |
Free source resources.
|
|
Peek ( int lookahead ) : int |
Peeks with n chars of lookahead.
|
|
Read ( bool filter ) : int |
Reads the next char
|
Method | Description | |
---|---|---|
Filter ( char ch ) : int |
Filters based upon an internal Trie
|
|
NormalizeSpaces ( char ch, int &pos, int &line, int &col ) : char |
Normalized CR/CRLF/LF/FF to LF, or all whitespace to SPACE if NormalizeWhiteSpace is true
|
public Copy ( int start, int end ) : string | ||
start | int | starting position, inclusive |
end | int | ending position, inclusive |
return | string |
protected CopyRead ( int ©Position ) : int | ||
copyPosition | int | |
return | int |
public LineReader ( string filePath, IEnumerable |
||
filePath | string | |
filters | IEnumerable |
|
return | System |
public LineReader ( string filePath, string source ) : System | ||
filePath | string | |
source | string | |
return | System |
public LineReader ( string filePath, string source, IEnumerable |
||
filePath | string | |
source | string | |
filters | IEnumerable |
|
return | System |