CsToken Struct ReferenceToken.
More...
List of all members.
|
Public Member Functions |
| CsToken () |
| CsToken (CsTokenType type_, LineInfo line_info_) |
| CsToken (CsTokenType type_, const std::string &text_, LineInfo line_info_) |
| CsToken (CsTokenType type_, const Char *begin, const Char *end, LineInfo line_info_) |
| CsToken (CsTokenType type_, const Char *begin, const Char *end, hash_code_type hash_code, LineInfo line_info_) |
| CsToken (CsTokenType type_, const Char *begin, const Char *end, LineInfo line_info_, CsLiteralType literal_type) |
| CsToken (CsTokenType type_, PHashString phs, unsigned line_) |
| CsToken (CsTokenType type_, PHashString phs, CsLiteralType literal_type, unsigned line_) |
| CsToken (CsTokenType type_, LineEnum line_type, unsigned line_) |
| CsToken (CsTokenType type_, unsigned number_, LineInfo line_info_) |
WPHashString | getWTPRCHashString () const |
const Char * | getString () const |
unsigned | getStringLength () const |
const Char * | getText () const |
bool | isVerbatim () const |
bool | isLastCharIsDot () const |
bool | operator== (const CsToken &rhs) const |
bool | operator!= (const CsToken &rhs) const |
LineInfo | getLineInfo () const |
unsigned | evalSize () const |
Public Attributes |
CsTokenType | type |
| Token type.
|
unsigned | number |
| Number (for internal purposes).
|
PHashString | text |
| Token string representation. Always null for keywords.
|
unsigned | line |
| Line.
|
unsigned | index |
| Token index, 1-based (for C# Transformation parser only).
|
Detailed Description
Token.
Constructor & Destructor Documentation
CsToken::CsToken |
( |
|
) |
[inline] |
|
CsToken::CsToken |
( |
CsTokenType |
type_, |
|
|
const std::string & |
text_, |
|
|
LineInfo |
line_info_ |
|
) |
[inline] |
|
CsToken::CsToken |
( |
CsTokenType |
type_, |
|
|
const Char * |
begin, |
|
|
const Char * |
end, |
|
|
LineInfo |
line_info_ |
|
) |
[inline] |
|
CsToken::CsToken |
( |
CsTokenType |
type_, |
|
|
const Char * |
begin, |
|
|
const Char * |
end, |
|
|
hash_code_type |
hash_code, |
|
|
LineInfo |
line_info_ |
|
) |
[inline] |
|
CsToken::CsToken |
( |
CsTokenType |
type_, |
|
|
PHashString |
phs, |
|
|
unsigned |
line_ |
|
) |
[inline] |
|
Member Function Documentation
unsigned CsToken::evalSize |
( |
|
) |
const |
|
LineInfo CsToken::getLineInfo |
( |
|
) |
const [inline] |
|
const Char* CsToken::getString |
( |
|
) |
const [inline] |
|
unsigned CsToken::getStringLength |
( |
|
) |
const [inline] |
|
const Char* CsToken::getText |
( |
|
) |
const |
|
WPHashString CsToken::getWTPRCHashString |
( |
|
) |
const [inline] |
|
bool CsToken::isLastCharIsDot |
( |
|
) |
const [inline] |
|
bool CsToken::isVerbatim |
( |
|
) |
const [inline] |
|
bool CsToken::operator!= |
( |
const CsToken & |
rhs |
) |
const [inline] |
|
bool CsToken::operator== |
( |
const CsToken & |
rhs |
) |
const [inline] |
|
Member Data Documentation
|
Token index, 1-based (for C# Transformation parser only).
|
|
Number (for internal purposes).
|
|
Token string representation. Always null for keywords.
|
|