Token

Undocumented in source.

Constructors

this
this(SourceLoc loc)
Undocumented in source.
this
this(string name, SourceLoc loc)
Undocumented in source.
this
this(Kind kind, string name, SourceLoc loc)
Undocumented in source.
this
this(string name, LiteralKind kindLiteral, size_t suffixSize, size_t flags, SourceLoc loc)
Undocumented in source.
this
this(string name, KeywordKind kindKeyword, size_t flags, SourceLoc loc)
Undocumented in source.

Members

Enums

Flags
enum Flags
Undocumented in source.
KeywordKind
enum KeywordKind
Undocumented in source.
Kind
enum Kind
Undocumented in source.
LiteralKind
enum LiteralKind
Undocumented in source.

Functions

eoi
auto eoi()
Undocumented in source. Be warned that the author may not have intended to support it.
ident
auto ident(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
isa
auto isa(Kind kind, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
keyword
auto keyword()
Undocumented in source. Be warned that the author may not have intended to support it.
keyword
auto keyword(KeywordKind keyword)
Undocumented in source. Be warned that the author may not have intended to support it.
literal
auto literal(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
loc
SourceLoc loc()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
needsUnescaping
auto needsUnescaping()
Undocumented in source. Be warned that the author may not have intended to support it.
numeric
auto numeric()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
auto opEquals(Token other)
Undocumented in source. Be warned that the author may not have intended to support it.
sep
auto sep(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
sep
auto sep(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
value
string value()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

back
auto back [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
auto empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
auto front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
kind
Kind kind [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
kindKeyword
KeywordKind kindKeyword [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
kindLiteral
LiteralKind kindLiteral [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
auto length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
size_t opIndex [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
auto ptr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
suffix
string suffix [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tail
auto tail [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
unescaped
auto unescaped [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta