LineStream

Undocumented in source.

Constructors

this
this(InputStream stream, string filename, EncodingType encoding, ubyte[] buf, uint offset, uint len)
Undocumented in source.

Members

Enums

EncodingType
enum EncodingType
Undocumented in source.

Functions

appendedText
void appendedText(uint len)
Undocumented in source. Be warned that the author may not have intended to support it.
consumedBytes
void consumedBytes(uint count)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeText
uint decodeText()
Undocumented in source.
invalidCharError
void invalidCharError()
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
uint readBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
readLine
dchar[] readLine()
Undocumented in source. Be warned that the author may not have intended to support it.
reserveTextBuf
dchar* reserveTextBuf(uint len)
Undocumented in source. Be warned that the author may not have intended to support it.
setError
void setError(int code, string message, uint errorLine, uint errorPos)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

encoding
EncodingType encoding [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorCode
int errorCode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorLine
int errorLine [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorMessage
string errorMessage [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorPos
int errorPos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
filename
string filename [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
line
uint line [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

create
LineStream create(string code, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
create
LineStream create(InputStream stream, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

BYTE_BUFFER_SIZE
int BYTE_BUFFER_SIZE;
Undocumented in source.
LINE_POSITION_UNDEFINED
uint LINE_POSITION_UNDEFINED;
Undocumented in source.
QUARTER_BYTE_BUFFER_SIZE
int QUARTER_BYTE_BUFFER_SIZE;
Undocumented in source.
TEXT_BUFFER_SIZE
int TEXT_BUFFER_SIZE;
Undocumented in source.

Variables

_buf
ubyte[] _buf;
Undocumented in source.
_encoding
EncodingType _encoding;
Undocumented in source.
_eof
bool _eof;
Undocumented in source.
_errorCode
int _errorCode;
Undocumented in source.
_errorLine
uint _errorLine;
Undocumented in source.
_errorMessage
string _errorMessage;
Undocumented in source.
_errorPos
uint _errorPos;
Undocumented in source.
_filename
string _filename;
Undocumented in source.
_len
uint _len;
Undocumented in source.
_line
uint _line;
Undocumented in source.
_pos
uint _pos;
Undocumented in source.
_stream
InputStream _stream;
Undocumented in source.
_streamEof
bool _streamEof;
Undocumented in source.
_textBuf
dchar[] _textBuf;
Undocumented in source.
_textLen
uint _textLen;
Undocumented in source.
_textPos
uint _textPos;
Undocumented in source.
invalidCharFlag
bool invalidCharFlag;
Undocumented in source.

Meta