Tokenizer.Range

Undocumented in source.

Constructors

this
this(string source)
Undocumented in source.

Members

Functions

save
Range save()
Undocumented in source. Be warned that the author may not have intended to support it.
trim
void trim()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

begin_pos
size_t begin_pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
end_pos
size_t end_pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
immutable(Token) front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
grap
immutable(string) grap(size_t begin, size_t end)
Undocumented in source.
line
uint line [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pos
uint pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
symbol
immutable(string) symbol [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_begin_pos
size_t _begin_pos;

Begin position of a token

_current_line
uint _current_line;

Line number of the current token

_current_pos
size_t _current_pos;

Position of the token in the current line

_end_pos
size_t _end_pos;

End position of a token

_eos
bool _eos;

Markes end of stream

_line
uint _line;

Line number

_line_pos
size_t _line_pos;

Position of the current line

source
immutable(string) source;
Undocumented in source.
type
Token.Type type;
Undocumented in source.

Meta