|
LibreOffice Module basic (master) 1
|
#include <symtbl.hxx>
Public Member Functions | |
| SbiProcDef (SbiParser *, const OUString &, bool bProcDecl=false) | |
| virtual | ~SbiProcDef () override |
| virtual SbiProcDef * | GetProcDef () override |
| virtual void | SetType (SbxDataType) override |
| SbiSymPool & | GetParams () |
| SbiSymPool & | GetLabels () |
| SbiSymPool & | GetLocals () |
| OUString & | GetLib () |
| OUString & | GetAlias () |
| void | SetPublic (bool b) |
| bool | IsPublic () const |
| void | SetCdecl (bool b) |
| bool | IsCdecl () const |
| bool | IsUsedForProcDecl () const |
| void | SetLine1 (sal_uInt16 n) |
| sal_uInt16 | GetLine1 () const |
| void | SetLine2 (sal_uInt16 n) |
| sal_uInt16 | GetLine2 () const |
| PropertyMode | getPropertyMode () const |
| void | setPropertyMode (PropertyMode ePropMode) |
| const OUString & | GetPropName () const |
| void | Match (SbiProcDef *pForward) |
Public Member Functions inherited from SbiSymDef | |
| SbiSymDef (OUString) | |
| virtual | ~SbiSymDef () |
| virtual SbiProcDef * | GetProcDef () |
| virtual SbiConstDef * | GetConstDef () |
| SbxDataType | GetType () const |
| virtual void | SetType (SbxDataType) |
| const OUString & | GetName () |
| SbiSymScope | GetScope () const |
| sal_uInt32 | GetAddr () const |
| sal_uInt16 | GetId () const |
| sal_uInt16 | GetTypeId () const |
| void | SetTypeId (sal_uInt16 n) |
| sal_uInt16 | GetPos () const |
| void | SetLen (short n) |
| short | GetLen () const |
| void | SetDims (short n) |
| short | GetDims () const |
| bool | IsDefined () const |
| void | SetOptional () |
| void | SetParamArray () |
| void | SetWithEvents () |
| void | SetWithBrackets () |
| void | SetByVal (bool bByVal_) |
| void | SetStatic (bool bAsStatic=true) |
| void | SetNew () |
| void | SetDefinedAs () |
| void | SetGlobal (bool b) |
| void | SetDefaultId (sal_uInt16 n) |
| sal_uInt16 | GetDefaultId () const |
| bool | IsOptional () const |
| bool | IsParamArray () const |
| bool | IsWithEvents () const |
| bool | IsWithBrackets () const |
| bool | IsByVal () const |
| bool | IsStatic () const |
| bool | IsNew () const |
| bool | IsDefinedAs () const |
| bool | IsGlobal () const |
| short | GetFixedStringLength () const |
| void | SetFixedStringLength (short n) |
| SbiSymPool & | GetPool () |
| sal_uInt32 | Define () |
| sal_uInt32 | Reference () |
Private Member Functions | |
| SbiProcDef (const SbiProcDef &)=delete | |
Private Attributes | |
| SbiSymPool | aParams |
| SbiSymPool | aLabels |
| OUString | aLibName |
| OUString | aAlias |
| sal_uInt16 | nLine1 |
| sal_uInt16 | nLine2 |
| PropertyMode | mePropMode |
| OUString | maPropName |
| bool | bCdecl: 1 |
| bool | bPublic: 1 |
| bool | mbProcDecl: 1 |
Additional Inherited Members | |
Protected Attributes inherited from SbiSymDef | |
| OUString | aName |
| SbxDataType | eType |
| SbiSymPool * | pIn |
| std::unique_ptr< SbiSymPool > | pPool |
| short | nLen |
| short | nDims |
| sal_uInt16 | nId |
| sal_uInt16 | nTypeId |
| sal_uInt16 | nProcId |
| sal_uInt16 | nPos |
| sal_uInt32 | nChain |
| bool | bNew: 1 |
| bool | bChained: 1 |
| bool | bByVal: 1 |
| bool | bOpt: 1 |
| bool | bStatic: 1 |
| bool | bAs: 1 |
| bool | bGlobal: 1 |
| bool | bParamArray: 1 |
| bool | bWithEvents: 1 |
| bool | bWithBrackets: 1 |
| sal_uInt16 | nDefaultId |
| short | nFixedStringLength |
Definition at line 161 of file symtbl.hxx.
| SbiProcDef::SbiProcDef | ( | SbiParser * | pParser, |
| const OUString & | rName, | ||
| bool | bProcDecl = false |
||
| ) |
Definition at line 407 of file symtbl.cxx.
References SbiSymPool::AddSym(), SbiParser::aGblStrings, SbiSymDef::aName, aParams, SbiParser::aPublics, bCdecl, bPublic, SbiSymDef::bStatic, mePropMode, nLine1, nLine2, NONE, SbiSymDef::pPool, SbLOCAL, and SbiSymPool::SetParent().
|
overridevirtual |
Definition at line 428 of file symtbl.cxx.
|
privatedelete |
|
inline |
Definition at line 181 of file symtbl.hxx.
References aAlias.
Referenced by SbiParser::DefDeclare(), and SbiParser::ProcDecl().
|
inline |
Definition at line 178 of file symtbl.hxx.
References aLabels.
Referenced by SbiParser::DefProc(), SbiParser::Goto(), SbiParser::On(), SbiParser::OnGoto(), SbiParser::Parse(), SbiParser::Resume(), and SbiParser::Return().
|
inline |
Definition at line 180 of file symtbl.hxx.
References aLibName.
Referenced by SbiParser::DefDeclare(), SbiParser::ProcDecl(), and SbiCodeGen::Save().
|
inline |
|
inline |
|
inline |
Definition at line 179 of file symtbl.hxx.
References SbiSymDef::GetPool().
Referenced by SbiParser::DefProc().
|
inline |
Definition at line 177 of file symtbl.hxx.
References aParams.
Referenced by AddSym(), SbiParser::DefDeclare(), SbiParser::DefProc(), SbiParser::ProcDecl(), and SbiCodeGen::Save().
|
overridevirtual |
Reimplemented from SbiSymDef.
Definition at line 431 of file symtbl.cxx.
Referenced by SbiCodeGen::Save().
|
inline |
Definition at line 191 of file symtbl.hxx.
References mePropMode.
Referenced by SbiParser::DefProc(), and SbiCodeGen::Save().
|
inline |
|
inline |
Definition at line 185 of file symtbl.hxx.
References bCdecl.
Referenced by SbiParser::DefDeclare(), and SbiParser::ProcDecl().
|
inline |
|
inline |
Definition at line 186 of file symtbl.hxx.
References mbProcDecl.
Referenced by SbiParser::DefProc().
| void SbiProcDef::Match | ( | SbiProcDef * | pForward | ) |
Definition at line 446 of file symtbl.cxx.
References SbiSymDef::aName, aParams, ERRCODE_BASIC_BAD_DECLARATION, SbiTokenizer::Error(), SbiSymPool::Get(), SbiSymPool::GetParser(), SbiSymPool::GetSize(), i, SbiSymDef::IsOptional(), SbiSymDef::IsParamArray(), SbiSymPool::m_Data, SbiSymPool::Next(), SbiSymDef::nId, SbiSymDef::nPos, SbiSymDef::pIn, and SbiScanner::SetCol1().
Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().
|
inline |
|
inline |
Definition at line 187 of file symtbl.hxx.
Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().
|
inline |
Definition at line 189 of file symtbl.hxx.
Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().
| void SbiProcDef::setPropertyMode | ( | PropertyMode | ePropMode | ) |
Definition at line 486 of file symtbl.cxx.
References SbiSymDef::aName, Get, Let, maPropName, mePropMode, NONE, and Set.
Referenced by SbiParser::DefProc().
|
inline |
Definition at line 182 of file symtbl.hxx.
References bPublic.
Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().
|
overridevirtual |
Reimplemented from SbiSymDef.
Definition at line 436 of file symtbl.cxx.
References aParams, SbiSymDef::eType, SbiSymPool::Get(), SbiSymDef::SetType(), and t.
Referenced by SbiParser::CheckRTLForSym(), and SbiParser::ProcDecl().
|
private |
Definition at line 165 of file symtbl.hxx.
Referenced by GetAlias().
|
private |
Definition at line 163 of file symtbl.hxx.
Referenced by GetLabels().
|
private |
Definition at line 164 of file symtbl.hxx.
Referenced by GetLib().
|
private |
Definition at line 162 of file symtbl.hxx.
Referenced by GetParams(), Match(), SbiProcDef(), and SetType().
|
private |
Definition at line 169 of file symtbl.hxx.
Referenced by IsCdecl(), SbiProcDef(), and SetCdecl().
|
private |
Definition at line 170 of file symtbl.hxx.
Referenced by IsPublic(), SbiProcDef(), and SetPublic().
|
private |
Definition at line 168 of file symtbl.hxx.
Referenced by GetPropName(), and setPropertyMode().
|
private |
Definition at line 171 of file symtbl.hxx.
Referenced by IsUsedForProcDecl().
|
private |
Definition at line 167 of file symtbl.hxx.
Referenced by getPropertyMode(), SbiProcDef(), and setPropertyMode().
|
private |
Definition at line 166 of file symtbl.hxx.
Referenced by GetLine1(), SbiProcDef(), and SetLine1().
|
private |
Definition at line 166 of file symtbl.hxx.
Referenced by GetLine2(), SbiProcDef(), and SetLine2().