LibreOffice Module idl (master) 1
|
#include <lex.hxx>
Public Member Functions | |
SvToken () | |
SvToken (const SvToken &rObj)=delete | |
SvToken & | operator= (const SvToken &rObj) |
OString | GetTokenAsString () const |
void | SetLine (sal_uInt64 nLineP) |
sal_uInt64 | GetLine () const |
void | SetColumn (sal_uInt64 nColumnP) |
sal_uInt64 | GetColumn () const |
bool | IsComment () const |
bool | IsInteger () const |
bool | IsString () const |
bool | IsBool () const |
bool | IsIdentifierHash () const |
bool | IsIdentifier () const |
bool | IsChar () const |
bool | IsEof () const |
const OString & | GetString () const |
sal_uInt64 | GetNumber () const |
bool | GetBool () const |
char | GetChar () const |
void | SetHash (SvStringHashEntry *pHashP) |
bool | Is (SvStringHashEntry const *pEntry) const |
Private Attributes | |
sal_uInt64 | nLine |
sal_uInt64 | nColumn |
SVTOKENTYPE | nType |
OString | aString |
union { | |
sal_uInt64 nLong | |
bool bBool | |
char cChar | |
SvStringHashEntry * pHash | |
}; | |
Friends | |
class | SvTokenStream |
|
delete |
|
inline |
Definition at line 83 of file lex.hxx.
References bBool.
Referenced by SvIdlParser::ReadIfBoolAttribute(), and SvBOOL::ReadSvIdl().
|
inline |
Definition at line 84 of file lex.hxx.
References cChar.
Referenced by SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadIf(), SvIdlParser::ReadIfDelimiter(), SvIdlParser::ReadStruct(), and SvMetaAttribute::ReadSvIdl().
|
inline |
Definition at line 60 of file lex.hxx.
References nColumn.
Referenced by SvIdlDataBase::SetError(), SvParseException::SvParseException(), and SvIdlDataBase::WriteError().
|
inline |
Definition at line 57 of file lex.hxx.
References nLine.
Referenced by SvIdlDataBase::SetError(), SvParseException::SvParseException(), and SvIdlDataBase::WriteError().
|
inline |
|
inline |
Definition at line 76 of file lex.hxx.
References aString, SvStringHashEntry::GetName(), IsIdentifierHash(), and pHash.
Referenced by SvMetaClass::ReadContextSvIdl(), SvIdlParser::ReadIdentifier(), SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadIfIdAttribute(), SvIdlParser::ReadInterfaceOrShellEntry(), SvIdlDataBase::ReadKnownAttr(), SvIdlDataBase::ReadKnownClass(), SvIdlDataBase::ReadKnownType(), SvMetaObject::ReadNameSvIdl(), SvIdlParser::ReadString(), ReadStringSvIdl(), SvIdentifier::ReadSvIdl(), and SvIdlDataBase::WriteError().
OString SvToken::GetTokenAsString | ( | ) | const |
|
inline |
Definition at line 88 of file lex.hxx.
References IsIdentifierHash(), and pHash.
Referenced by SvIdlParser::Read(), SvMetaClass::ReadContextSvIdl(), SvMetaType::ReadHeaderSvIdl(), SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadIf(), SvIdlParser::ReadIfBoolAttribute(), SvIdlParser::ReadIfIdAttribute(), ReadStringSvIdl(), SvBOOL::ReadSvIdl(), and SvIdentifier::ReadSvIdl().
|
inline |
Definition at line 65 of file lex.hxx.
Referenced by SvIdlParser::ReadIfBoolAttribute(), and SvBOOL::ReadSvIdl().
|
inline |
Definition at line 73 of file lex.hxx.
Referenced by SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadIf(), SvIdlParser::ReadIfDelimiter(), SvIdlParser::ReadStruct(), and SvMetaAttribute::ReadSvIdl().
|
inline |
Definition at line 62 of file lex.hxx.
References Comment, and nType.
Referenced by SvTokenStream::FillTokenList().
|
inline |
Definition at line 74 of file lex.hxx.
References EndOfFile, and nType.
Referenced by SvTokenStream::FillTokenList(), SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadInclude(), and SvIdlParser::ReadSvIdl().
|
inline |
Definition at line 68 of file lex.hxx.
References HashId, Identifier, and nType.
Referenced by SvIdlParser::ReadIdentifier(), SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadIfIdAttribute(), SvIdlDataBase::ReadKnownAttr(), SvIdlDataBase::ReadKnownClass(), SvIdlDataBase::ReadKnownType(), SvMetaObject::ReadNameSvIdl(), SvIdentifier::ReadSvIdl(), and SvIdlDataBase::WriteError().
|
inline |
|
inline |
Definition at line 63 of file lex.hxx.
References Integer, and nType.
Referenced by SvIdlDataBase::ReadIdFile().
|
inline |
Definition at line 64 of file lex.hxx.
Referenced by SvMetaClass::ReadContextSvIdl(), SvIdlDataBase::ReadIdFile(), SvIdlParser::ReadInterfaceOrShellEntry(), SvIdlParser::ReadString(), and ReadStringSvIdl().
|
inline |
Definition at line 59 of file lex.hxx.
References nColumn.
Referenced by SvTokenStream::FillTokenList(), and SvTokenStream::MakeToken().
|
inline |
|
inline |
Definition at line 56 of file lex.hxx.
References nLine.
Referenced by SvTokenStream::FillTokenList(), and SvTokenStream::MakeToken().
|
friend |
union { ... } SvToken::@1 |
|
private |
Definition at line 40 of file lex.hxx.
Referenced by GetString(), GetTokenAsString(), SvTokenStream::MakeToken(), and operator=().
bool SvToken::bBool |
Definition at line 44 of file lex.hxx.
Referenced by GetBool(), GetTokenAsString(), and SvTokenStream::MakeToken().
char SvToken::cChar |
Definition at line 45 of file lex.hxx.
Referenced by GetChar(), GetTokenAsString(), and SvTokenStream::MakeToken().
|
private |
Definition at line 38 of file lex.hxx.
Referenced by GetColumn(), operator=(), and SetColumn().
|
private |
Definition at line 38 of file lex.hxx.
Referenced by GetLine(), operator=(), and SetLine().
sal_uInt64 SvToken::nLong |
Definition at line 43 of file lex.hxx.
Referenced by GetNumber(), GetTokenAsString(), SvTokenStream::MakeToken(), and operator=().
|
private |
Definition at line 39 of file lex.hxx.
Referenced by GetTokenAsString(), IsBool(), IsChar(), IsComment(), IsEof(), IsIdentifier(), IsIdentifierHash(), IsInteger(), IsString(), SvTokenStream::MakeToken(), operator=(), and SetHash().
SvStringHashEntry* SvToken::pHash |
Definition at line 46 of file lex.hxx.
Referenced by GetString(), Is(), and SetHash().