LibreOffice Module idl (master) 1
|
#include <parser.hxx>
Private Attributes | |
SvIdlDataBase & | rBase |
SvTokenStream & | rInStm |
Definition at line 35 of file parser.hxx.
|
inline |
Definition at line 40 of file parser.hxx.
void SvIdlParser::Read | ( | char | cChar | ) |
Definition at line 558 of file parser.cxx.
References ReadIf(), and rInStm.
Referenced by ReadEnum(), ReadInterfaceOrShell(), ReadInterfaceOrShellMethod(), ReadModuleBody(), ReadSlot(), ReadStruct(), and ReadSvIdl().
void SvIdlParser::Read | ( | SvStringHashEntry const * | entry | ) |
Definition at line 574 of file parser.cxx.
References SvStringHashEntry::GetName(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::Is(), and rInStm.
void SvIdlParser::ReadDelimiter | ( | ) |
Definition at line 522 of file parser.cxx.
References ReadIfDelimiter(), and rInStm.
Referenced by ReadStruct().
void SvIdlParser::ReadEnum | ( | ) |
Definition at line 218 of file parser.cxx.
References Enum, tools::SvRef< typename T >::get(), SvIdlDataBase::GetTypeList(), SvRefMemberList< T >::push_back(), rBase, Read(), ReadEnumValue(), ReadIdentifier(), and ReadIfDelimiter().
Referenced by ReadModuleElement().
void SvIdlParser::ReadEnumValue | ( | SvMetaTypeEnum & | rEnum | ) |
Definition at line 249 of file parser.cxx.
References SvMetaTypeEnum::aEnumValueList, SvMetaTypeEnum::aPrefix, tools::SvRef< typename T >::get(), getCommonSubPrefix(), SvRefMemberList< T >::push_back(), and ReadIdentifier().
Referenced by ReadEnum().
OString SvIdlParser::ReadIdentifier | ( | ) |
Definition at line 540 of file parser.cxx.
References SvToken::GetString(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::IsIdentifier(), and rInStm.
Referenced by ReadEnum(), ReadEnumValue(), ReadInterfaceOrShell(), ReadInterfaceOrShellMethod(), ReadItem(), ReadKnownClass(), ReadKnownType(), ReadModuleHeader(), ReadSlotId(), and ReadStruct().
bool SvIdlParser::ReadIf | ( | char | cChar | ) |
Definition at line 564 of file parser.cxx.
References SvToken::GetChar(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::IsChar(), and rInStm.
Referenced by Read(), ReadInterfaceOrShell(), ReadInterfaceOrShellEntry(), ReadInterfaceOrShellMethod(), ReadModuleBody(), ReadModuleElement(), and ReadSlot().
bool SvIdlParser::ReadIf | ( | SvStringHashEntry const * | entry | ) |
Definition at line 581 of file parser.cxx.
References SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::Is(), and rInStm.
bool SvIdlParser::ReadIfBoolAttribute | ( | SvBOOL & | rBool, |
SvStringHashEntry const * | pName | ||
) |
Definition at line 479 of file parser.cxx.
References SvToken::GetBool(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::Is(), SvToken::IsBool(), pName, SvTokenStream::ReadIf(), rInStm, SvTokenStream::Seek(), and SvTokenStream::Tell().
Referenced by ReadSlotAttribute().
bool SvIdlParser::ReadIfDelimiter | ( | ) |
Definition at line 528 of file parser.cxx.
References SvToken::GetChar(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::IsChar(), and rInStm.
Referenced by ReadDelimiter(), ReadEnum(), ReadInterfaceOrShell(), ReadInterfaceOrShellMethod(), ReadModuleBody(), ReadSlot(), and ReadStruct().
void SvIdlParser::ReadIfIdAttribute | ( | SvIdentifier & | rIdentifier, |
SvStringHashEntry const * | pName | ||
) |
Definition at line 502 of file parser.cxx.
References SvToken::GetString(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::Is(), SvToken::IsIdentifier(), pName, SvTokenStream::ReadIf(), rInStm, SvTokenStream::Seek(), SvIdentifier::setString(), and SvTokenStream::Tell().
Referenced by ReadSlotAttribute().
void SvIdlParser::ReadInclude | ( | SvMetaModule & | rModule | ) |
Definition at line 129 of file parser.cxx.
References SvIdlDataBase::AddDepFile(), aStr, ERRCODE_NONE, ex, SvStream::GetError(), SvIdlDataBase::GetError(), SvIdlDataBase::GetPath(), SvTokenStream::GetStream(), SvTokenStream::GetToken(), SvToken::IsEof(), OUStringToOString(), rBase, SvTokenStream::ReadIfDelimiter(), ReadModuleElement(), ReadString(), rInStm, SvTokenStream::Seek(), SvIdlDataBase::SetError(), SvIdlDataBase::StartNewFile(), SvTokenStream::Tell(), and SvIdlDataBase::WriteError().
Referenced by ReadModuleElement().
void SvIdlParser::ReadInterfaceOrShell | ( | SvMetaModule & | rModule, |
MetaTypeType | aMetaTypeType | ||
) |
Definition at line 265 of file parser.cxx.
References SvMetaModule::aClassList, tools::SvRef< typename T >::get(), SvIdlDataBase::GetClassList(), SvRefMemberList< T >::push_back(), rBase, Read(), ReadIdentifier(), ReadIf(), ReadIfDelimiter(), ReadInterfaceOrShellEntry(), ReadKnownClass(), rInStm, and SvTokenStream::Tell().
Referenced by ReadModuleElement().
void SvIdlParser::ReadInterfaceOrShellEntry | ( | SvMetaClass & | rClass | ) |
Definition at line 293 of file parser.cxx.
References SvMetaClass::aAttrList, SvMetaClass::aClassElementList, tools::SvRef< typename T >::get(), SvToken::GetString(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvIdlDataBase::GetUniqueId(), SvMetaType::IsItem(), SvToken::IsString(), SvRefMemberList< T >::push_back(), rBase, ReadIf(), ReadInterfaceOrShellMethod(), ReadKnownClass(), SvIdlDataBase::ReadKnownType(), ReadSlot(), rInStm, SvClassElement::SetPrefix(), and SvMetaClass::TestAttribute().
Referenced by ReadInterfaceOrShell().
void SvIdlParser::ReadInterfaceOrShellMethod | ( | SvMetaAttribute & | rAttr | ) |
Definition at line 423 of file parser.cxx.
References SvMetaAttribute::aSlotId, SvMetaAttribute::aType, tools::SvRef< typename T >::get(), SvMetaAttribute::GetType(), Method, Read(), ReadIdentifier(), ReadIf(), ReadIfDelimiter(), ReadKnownType(), ReadSlotId(), and SvMetaObject::SetName().
Referenced by ReadInterfaceOrShellEntry().
void SvIdlParser::ReadItem | ( | ) |
Definition at line 208 of file parser.cxx.
References tools::SvRef< typename T >::get(), SvIdlDataBase::GetTypeList(), SvRefMemberList< T >::push_back(), rBase, ReadIdentifier(), and ReadKnownType().
Referenced by ReadModuleElement().
SvMetaClass * SvIdlParser::ReadKnownClass | ( | ) |
Definition at line 459 of file parser.cxx.
References aName, SvIdlDataBase::FindKnownClass(), rBase, ReadIdentifier(), and rInStm.
Referenced by ReadInterfaceOrShell(), and ReadInterfaceOrShellEntry().
SvMetaType * SvIdlParser::ReadKnownType | ( | ) |
Definition at line 468 of file parser.cxx.
References aName, SvIdlDataBase::GetTypeList(), rBase, ReadIdentifier(), and rInStm.
Referenced by ReadInterfaceOrShellMethod(), ReadItem(), and ReadStruct().
void SvIdlParser::ReadModuleBody | ( | SvMetaModule & | rModule | ) |
Definition at line 57 of file parser.cxx.
References rBase, Read(), SvIdlDataBase::ReadIdFile(), ReadIf(), ReadIfDelimiter(), ReadModuleElement(), ReadStringSvIdl(), rInStm, and SvTokenStream::Tell().
Referenced by ReadModuleHeader().
void SvIdlParser::ReadModuleElement | ( | SvMetaModule & | rModule | ) |
Definition at line 88 of file parser.cxx.
References SvIdlDataBase::AppendSlot(), tools::SvRef< typename T >::get(), Interface, rBase, ReadEnum(), ReadIf(), ReadInclude(), ReadInterfaceOrShell(), ReadItem(), ReadSlot(), ReadStruct(), rInStm, and Shell.
Referenced by ReadInclude(), and ReadModuleBody().
void SvIdlParser::ReadModuleHeader | ( | SvMetaModule & | rModule | ) |
Definition at line 48 of file parser.cxx.
References aName, SvIdlDataBase::GetStack(), SvRefMemberList< T >::pop_back(), SvIdlDataBase::Push(), rBase, ReadIdentifier(), ReadModuleBody(), and SvMetaObject::SetName().
Referenced by ReadSvIdl().
bool SvIdlParser::ReadSlot | ( | SvMetaSlot & | rSlot | ) |
Definition at line 336 of file parser.cxx.
References SvIdlDataBase::FindKnownAttr(), SvMetaReference::GetName(), SvMetaAttribute::GetSlotId(), SvMetaAttribute::GetType(), rBase, Read(), ReadIf(), ReadIfDelimiter(), SvIdlDataBase::ReadKnownAttr(), ReadSlotAttribute(), rInStm, SvTokenStream::Seek(), SvMetaObject::SetName(), SvMetaReference::SetRef(), and SvTokenStream::Tell().
Referenced by ReadInterfaceOrShellEntry(), and ReadModuleElement().
void SvIdlParser::ReadSlotAttribute | ( | SvMetaSlot & | rSlot | ) |
Definition at line 383 of file parser.cxx.
References SvMetaSlot::aAccelConfig, SvMetaSlot::aAsynchron, SvMetaSlot::aAutoUpdate, SvMetaSlot::aContainer, SvMetaSlot::aDisableFlags, SvMetaSlot::aExecMethod, SvMetaSlot::aFastCall, SvMetaSlot::aGroupId, SvMetaSlot::aMenuConfig, SvMetaSlot::aNoRecord, SvMetaSlot::aReadOnlyDoc, SvMetaSlot::aRecordAbsolute, SvMetaSlot::aRecordPerItem, SvMetaSlot::aRecordPerSet, SvMetaSlot::aStateMethod, SvMetaSlot::aToggle, SvMetaSlot::aToolBoxConfig, SvBOOL::IsSet(), ReadIfBoolAttribute(), ReadIfIdAttribute(), ReadStringSvIdl(), rInStm, SvMetaSlot::SetNoRecord(), SvMetaSlot::SetRecordPerItem(), and SvMetaSlot::SetRecordPerSet().
Referenced by ReadSlot().
void SvIdlParser::ReadSlotId | ( | SvIdentifier & | rSlotId | ) |
Definition at line 450 of file parser.cxx.
References SvIdlDataBase::FindId(), SvIdentifier::getString(), n, rBase, ReadIdentifier(), rInStm, SvIdentifier::setString(), and SvIdentifier::SetValue().
Referenced by ReadInterfaceOrShellMethod().
OString SvIdlParser::ReadString | ( | ) |
Definition at line 549 of file parser.cxx.
References SvToken::GetString(), SvTokenStream::GetToken(), SvTokenStream::GetToken_Next(), SvToken::IsString(), and rInStm.
Referenced by ReadInclude().
void SvIdlParser::ReadStruct | ( | ) |
Definition at line 180 of file parser.cxx.
References SvIdlDataBase::FindId(), tools::SvRef< typename T >::get(), SvToken::GetChar(), SvTokenStream::GetToken(), SvIdlDataBase::GetTypeList(), SvToken::IsChar(), n, SvRefMemberList< T >::push_back(), rBase, Read(), ReadDelimiter(), ReadIdentifier(), ReadIfDelimiter(), ReadKnownType(), rInStm, and Struct.
Referenced by ReadModuleElement().
void SvIdlParser::ReadSvIdl | ( | const OUString & | rPath | ) |
Definition at line 30 of file parser.cxx.
References tools::SvRef< typename T >::get(), SvIdlDataBase::GetModuleList(), SvTokenStream::GetToken(), SvToken::IsEof(), SvRefMemberList< T >::push_back(), rBase, Read(), ReadModuleHeader(), rInStm, and SvIdlDataBase::SetPath().
Referenced by ReadIdl().
|
private |
Definition at line 37 of file parser.hxx.
Referenced by ReadEnum(), ReadInclude(), ReadInterfaceOrShell(), ReadInterfaceOrShellEntry(), ReadItem(), ReadKnownClass(), ReadKnownType(), ReadModuleBody(), ReadModuleElement(), ReadModuleHeader(), ReadSlot(), ReadSlotId(), ReadStruct(), and ReadSvIdl().
|
private |
Definition at line 38 of file parser.hxx.
Referenced by Read(), ReadDelimiter(), ReadIdentifier(), ReadIf(), ReadIfBoolAttribute(), ReadIfDelimiter(), ReadIfIdAttribute(), ReadInclude(), ReadInterfaceOrShell(), ReadInterfaceOrShellEntry(), ReadKnownClass(), ReadKnownType(), ReadModuleBody(), ReadModuleElement(), ReadSlot(), ReadSlotAttribute(), ReadSlotId(), ReadString(), ReadStruct(), and ReadSvIdl().