[184] | 1 | #pragma once
|
---|
| 2 |
|
---|
[206] | 3 | class UserProc;
|
---|
[632] | 4 | class UserProcs;
|
---|
[325] | 5 | class Delegate;
|
---|
[632] | 6 | class Classes;
|
---|
[206] | 7 |
|
---|
[344] | 8 | class ClassPrototype : public Prototype, public DynamicMethodsPrototype
|
---|
[342] | 9 | {
|
---|
[344] | 10 | // XMLシリアライズ用
|
---|
| 11 | private:
|
---|
| 12 | friend class boost::serialization::access;
|
---|
| 13 | template<class Archive> void serialize(Archive& ar, const unsigned int version)
|
---|
| 14 | {
|
---|
| 15 | ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( Prototype );
|
---|
| 16 | ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( DynamicMethodsPrototype );
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public:
|
---|
[523] | 20 | ClassPrototype( const NamespaceScopes &namespaceScopes, const std::string &name )
|
---|
[344] | 21 | : Prototype( namespaceScopes, name )
|
---|
| 22 | , DynamicMethodsPrototype()
|
---|
| 23 | {
|
---|
| 24 | }
|
---|
| 25 | ClassPrototype()
|
---|
| 26 | : Prototype()
|
---|
| 27 | , DynamicMethodsPrototype()
|
---|
| 28 | {
|
---|
| 29 | }
|
---|
| 30 | };
|
---|
| 31 |
|
---|
[342] | 32 | class CClass: public ClassPrototype, public Jenga::Common::ObjectInHashmap<CClass>
|
---|
[206] | 33 | {
|
---|
| 34 | public:
|
---|
| 35 | // 型の種類
|
---|
| 36 | enum ClassType{
|
---|
| 37 | Class,
|
---|
| 38 | Interface,
|
---|
[370] | 39 | ComInterface,
|
---|
[206] | 40 | Enum,
|
---|
| 41 | Delegate,
|
---|
| 42 | Structure,
|
---|
| 43 | };
|
---|
[193] | 44 |
|
---|
[206] | 45 | private:
|
---|
| 46 | ClassType classType;
|
---|
[184] | 47 |
|
---|
[206] | 48 | // importされている名前空間
|
---|
| 49 | NamespaceScopesCollection importedNamespaces;
|
---|
[290] | 50 |
|
---|
| 51 | // 型パラメータ
|
---|
| 52 | GenericTypes formalGenericTypes;
|
---|
| 53 |
|
---|
[382] | 54 | // 基底クラス
|
---|
[206] | 55 | const CClass *pSuperClass;
|
---|
[184] | 56 |
|
---|
[382] | 57 | // 基底クラスの型パラメータ(実パラメータ)
|
---|
[299] | 58 | Types superClassActualTypeParameters;
|
---|
| 59 |
|
---|
[206] | 60 | // Blittable型情報
|
---|
| 61 | Type blittableType;
|
---|
[184] | 62 |
|
---|
[206] | 63 | // 実装するインターフェイス
|
---|
| 64 | Interfaces interfaces;
|
---|
[191] | 65 |
|
---|
[206] | 66 | // 動的メンバ
|
---|
| 67 | Members dynamicMembers;
|
---|
[191] | 68 |
|
---|
[206] | 69 | // 静的メンバ
|
---|
| 70 | Members staticMembers;
|
---|
| 71 |
|
---|
| 72 | // 動的メソッド
|
---|
| 73 | int ConstructorMemberSubIndex;
|
---|
| 74 | int DestructorMemberSubIndex;
|
---|
| 75 | int vtblNum; // 仮想関数の数
|
---|
| 76 |
|
---|
| 77 | // 静的メソッド
|
---|
| 78 | Methods staticMethods;
|
---|
| 79 |
|
---|
[232] | 80 | //アラインメント値
|
---|
| 81 | int fixedAlignment;
|
---|
| 82 |
|
---|
[632] | 83 | public:
|
---|
| 84 | ActiveBasic::Common::Lexical::ExpandedTemplateClasses expandedTemplateClasses;
|
---|
| 85 |
|
---|
[191] | 86 | // XMLシリアライズ用
|
---|
| 87 | private:
|
---|
| 88 | friend class boost::serialization::access;
|
---|
| 89 | template<class Archive> void serialize(Archive& ar, const unsigned int version)
|
---|
| 90 | {
|
---|
[206] | 91 | trace_for_serialize( "serializing - CClass" );
|
---|
| 92 |
|
---|
[342] | 93 | ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( ClassPrototype );
|
---|
[206] | 94 | ar & BOOST_SERIALIZATION_NVP( classType );
|
---|
| 95 | ar & BOOST_SERIALIZATION_NVP( importedNamespaces );
|
---|
[293] | 96 | ar & BOOST_SERIALIZATION_NVP( formalGenericTypes );
|
---|
[206] | 97 | ar & boost::serialization::make_nvp( "pSuperClass", const_cast<CClass *&>(pSuperClass) );
|
---|
[299] | 98 | ar & BOOST_SERIALIZATION_NVP( superClassActualTypeParameters );
|
---|
[206] | 99 | ar & BOOST_SERIALIZATION_NVP( blittableType );
|
---|
[353] | 100 | ar & BOOST_SERIALIZATION_NVP( interfaces );
|
---|
[206] | 101 | ar & BOOST_SERIALIZATION_NVP( dynamicMembers );
|
---|
| 102 | ar & BOOST_SERIALIZATION_NVP( staticMembers );
|
---|
| 103 | ar & BOOST_SERIALIZATION_NVP( ConstructorMemberSubIndex );
|
---|
| 104 | ar & BOOST_SERIALIZATION_NVP( DestructorMemberSubIndex );
|
---|
| 105 | ar & BOOST_SERIALIZATION_NVP( vtblNum );
|
---|
| 106 | ar & BOOST_SERIALIZATION_NVP( staticMethods );
|
---|
[232] | 107 | ar & BOOST_SERIALIZATION_NVP( fixedAlignment );
|
---|
[632] | 108 | ar & BOOST_SERIALIZATION_NVP( expandedTemplateClasses );
|
---|
[191] | 109 | }
|
---|
[184] | 110 |
|
---|
[206] | 111 | bool isReady;
|
---|
[184] | 112 | public:
|
---|
[206] | 113 |
|
---|
[632] | 114 | CClass( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const std::string &name );
|
---|
| 115 | CClass( const NamespaceScopes &namespaceScopes,
|
---|
| 116 | const NamespaceScopesCollection &importedNamespaces,
|
---|
| 117 | const std::string &name, ClassType classType,
|
---|
| 118 | const GenericTypes &formalGenericTypes,
|
---|
| 119 | const Types &superClassActualTypeParameters,
|
---|
| 120 | int ConstructorMemberSubIndex,
|
---|
| 121 | int DestructorMemberSubIndex,
|
---|
| 122 | int vtblNum,
|
---|
| 123 | int fixedAlignment );
|
---|
| 124 | CClass();
|
---|
| 125 | ~CClass();
|
---|
[191] | 126 |
|
---|
[270] | 127 | virtual const std::string &GetKeyName() const
|
---|
| 128 | {
|
---|
| 129 | return GetName();
|
---|
| 130 | }
|
---|
| 131 | virtual bool IsDuplication( const CClass *pClass ) const
|
---|
| 132 | {
|
---|
| 133 | if( pClass->IsEqualSymbol( *this ) )
|
---|
| 134 | {
|
---|
| 135 | return true;
|
---|
| 136 | }
|
---|
| 137 | return false;
|
---|
| 138 | }
|
---|
| 139 |
|
---|
[540] | 140 | virtual void Using() const;
|
---|
| 141 |
|
---|
[206] | 142 | void Readed(){
|
---|
| 143 | isReady = true;
|
---|
| 144 | }
|
---|
| 145 | bool IsReady() const{
|
---|
| 146 | return isReady;
|
---|
| 147 | }
|
---|
[184] | 148 |
|
---|
[206] | 149 | const NamespaceScopesCollection &GetImportedNamespaces() const
|
---|
| 150 | {
|
---|
| 151 | return importedNamespaces;
|
---|
| 152 | }
|
---|
| 153 |
|
---|
[290] | 154 | // 型パラメータ
|
---|
[424] | 155 | const GenericTypes &GetFormalGenericTypes() const
|
---|
| 156 | {
|
---|
| 157 | return formalGenericTypes;
|
---|
| 158 | }
|
---|
[290] | 159 | void AddFormalGenericType( GenericType genericType )
|
---|
| 160 | {
|
---|
| 161 | this->formalGenericTypes.push_back( genericType );
|
---|
| 162 | }
|
---|
[299] | 163 | int GetFormalGenericTypeParameterIndex( const std::string &name ) const
|
---|
| 164 | {
|
---|
| 165 | int i = 0;
|
---|
| 166 | BOOST_FOREACH( const GenericType &genericType, formalGenericTypes )
|
---|
| 167 | {
|
---|
| 168 | if( genericType.GetName() == name )
|
---|
| 169 | {
|
---|
| 170 | return i;
|
---|
| 171 | }
|
---|
| 172 | i++;
|
---|
| 173 | }
|
---|
| 174 | return -1;
|
---|
| 175 | }
|
---|
[290] | 176 | bool IsExistFormalGenericTypeParameter( const std::string &name ) const
|
---|
| 177 | {
|
---|
| 178 | BOOST_FOREACH( const GenericType &genericType, formalGenericTypes )
|
---|
| 179 | {
|
---|
| 180 | if( genericType.GetName() == name )
|
---|
| 181 | {
|
---|
| 182 | return true;
|
---|
| 183 | }
|
---|
| 184 | }
|
---|
| 185 | return false;
|
---|
| 186 | }
|
---|
[379] | 187 | bool IsGeneric() const
|
---|
| 188 | {
|
---|
| 189 | return ( this->formalGenericTypes.size() != 0 );
|
---|
| 190 | }
|
---|
[290] | 191 |
|
---|
[206] | 192 | // 継承元クラス
|
---|
| 193 | bool HasSuperClass() const
|
---|
| 194 | {
|
---|
| 195 | return ( pSuperClass != NULL );
|
---|
| 196 | }
|
---|
| 197 | const CClass &GetSuperClass() const
|
---|
| 198 | {
|
---|
| 199 | return *pSuperClass;
|
---|
| 200 | }
|
---|
| 201 | void SetSuperClass( const CClass *pSuperClass )
|
---|
| 202 | {
|
---|
| 203 | this->pSuperClass = pSuperClass;
|
---|
| 204 | }
|
---|
[299] | 205 | const Types &GetSuperClassActualTypeParameters() const
|
---|
| 206 | {
|
---|
| 207 | return superClassActualTypeParameters;
|
---|
| 208 | }
|
---|
| 209 | void SetSuperClassActualTypeParameters( const Types &actualTypeParameters )
|
---|
| 210 | {
|
---|
| 211 | this->superClassActualTypeParameters = actualTypeParameters;
|
---|
| 212 | }
|
---|
[206] | 213 |
|
---|
| 214 | // Blittable型
|
---|
| 215 | bool IsBlittableType() const
|
---|
| 216 | {
|
---|
| 217 | return !blittableType.IsNull();
|
---|
| 218 | }
|
---|
| 219 | const Type &GetBlittableType() const
|
---|
| 220 | {
|
---|
| 221 | return blittableType;
|
---|
| 222 | }
|
---|
| 223 | void SetBlittableType( const Type &type ){
|
---|
| 224 | blittableType = type;
|
---|
| 225 | }
|
---|
| 226 |
|
---|
| 227 | bool IsClass() const;
|
---|
| 228 | bool IsInterface() const;
|
---|
[370] | 229 | bool IsComInterface() const;
|
---|
[206] | 230 | bool IsEnum() const;
|
---|
| 231 | bool IsDelegate() const;
|
---|
| 232 | bool IsStructure() const;
|
---|
| 233 | void SetClassType( ClassType classType )
|
---|
| 234 | {
|
---|
| 235 | this->classType = classType;
|
---|
| 236 | }
|
---|
[632] | 237 | ClassType GetClassType() const
|
---|
| 238 | {
|
---|
| 239 | return classType;
|
---|
| 240 | }
|
---|
[206] | 241 |
|
---|
| 242 |
|
---|
| 243 | //コンストラクタをコンパイルしているかどうかのチェックフラグ
|
---|
[184] | 244 | private:
|
---|
[206] | 245 | mutable bool isCompilingConstructor;
|
---|
[184] | 246 | public:
|
---|
[206] | 247 | void NotifyStartConstructorCompile() const;
|
---|
| 248 | void NotifyFinishConstructorCompile() const;
|
---|
| 249 | bool IsCompilingConstructor() const;
|
---|
[184] | 250 |
|
---|
[206] | 251 | //デストラクタをコンパイルしているかどうかのチェックフラグ
|
---|
| 252 | private:
|
---|
| 253 | mutable bool isCompilingDestructor;
|
---|
| 254 | public:
|
---|
| 255 | void NotifyStartDestructorCompile() const;
|
---|
| 256 | void NotifyFinishDestructorCompile() const;
|
---|
| 257 | bool IsCompilingDestructor() const;
|
---|
[191] | 258 |
|
---|
[193] | 259 |
|
---|
[206] | 260 | //自身の派生クラスかどうかを確認
|
---|
| 261 | bool IsSubClass( const CClass *pClass ) const;
|
---|
| 262 |
|
---|
| 263 | //自身と等しいまたは派生クラスかどうかを確認
|
---|
| 264 | bool IsEqualsOrSubClass( const CClass *pClass ) const;
|
---|
| 265 |
|
---|
| 266 | // 自身と等しいまたは派生クラス、基底クラスかどうかを確認
|
---|
| 267 | bool IsEqualsOrSubClassOrSuperClass( const CClass &objClass ) const;
|
---|
| 268 |
|
---|
| 269 | // インターフェイス
|
---|
| 270 | bool HasInterfaces() const
|
---|
| 271 | {
|
---|
| 272 | return ( interfaces.size() != 0 );
|
---|
| 273 | }
|
---|
[560] | 274 | void AddInterface( ::Interface *pInterface )
|
---|
| 275 | {
|
---|
| 276 | interfaces.push_back( pInterface );
|
---|
| 277 | }
|
---|
[342] | 278 | const Interfaces &GetInterfaces() const
|
---|
| 279 | {
|
---|
| 280 | return interfaces;
|
---|
| 281 | }
|
---|
[632] | 282 | Interfaces &GetInterfaces()
|
---|
| 283 | {
|
---|
| 284 | return interfaces;
|
---|
| 285 | }
|
---|
[206] | 286 | bool IsInheritsInterface( const CClass *pInterfaceClass ) const;
|
---|
| 287 |
|
---|
[340] | 288 | // クラス継承
|
---|
[299] | 289 | bool InheritsClass( const CClass &inheritsClass, const Types &actualTypeParameters, int nowLine );
|
---|
[206] | 290 |
|
---|
| 291 | //メンバ、メソッドの追加
|
---|
[561] | 292 | void AddDynamicMember( Member *pMember );
|
---|
| 293 | void AddStaticMember( Member *pMember );
|
---|
[206] | 294 |
|
---|
| 295 | //重複チェック
|
---|
[409] | 296 | bool DupliCheckAll(const char *name) const;
|
---|
| 297 | bool DupliCheckMember(const char *name) const;
|
---|
[206] | 298 |
|
---|
| 299 | const Members &GetDynamicMembers() const
|
---|
| 300 | {
|
---|
| 301 | return dynamicMembers;
|
---|
| 302 | }
|
---|
| 303 | const Members &GetStaticMembers() const
|
---|
| 304 | {
|
---|
| 305 | return staticMembers;
|
---|
| 306 | }
|
---|
| 307 | Members &GetDynamicMembers()
|
---|
| 308 | {
|
---|
| 309 | return dynamicMembers;
|
---|
| 310 | }
|
---|
| 311 | Members &GetStaticMembers()
|
---|
| 312 | {
|
---|
| 313 | return staticMembers;
|
---|
| 314 | }
|
---|
[355] | 315 |
|
---|
[561] | 316 | const Member *FindDynamicMember( const char *memberName ) const;
|
---|
[409] | 317 | bool HasDynamicMember( const char *memberName ) const
|
---|
[355] | 318 | {
|
---|
[409] | 319 | return ( FindDynamicMember( memberName ) != NULL );
|
---|
[355] | 320 | }
|
---|
[206] | 321 |
|
---|
[350] | 322 | void EnumDynamicMethodsOrInterfaceMethods( const char *methodName, std::vector<const UserProc *> &subs ) const;
|
---|
| 323 | const CMethod *GetDynamicMethodOrInterfaceMethod( const UserProc *pUserProc ) const;
|
---|
[347] | 324 |
|
---|
[206] | 325 | const Methods &GetStaticMethods() const
|
---|
| 326 | {
|
---|
| 327 | return staticMethods;
|
---|
| 328 | }
|
---|
| 329 | Methods &GetStaticMethods()
|
---|
| 330 | {
|
---|
| 331 | return staticMethods;
|
---|
| 332 | }
|
---|
| 333 |
|
---|
| 334 | //デフォルト コンストラクタ
|
---|
| 335 | const CMethod *GetConstructorMethod() const
|
---|
| 336 | {
|
---|
| 337 | if( ConstructorMemberSubIndex == -1 ) return NULL;
|
---|
[342] | 338 | return GetDynamicMethods()[ConstructorMemberSubIndex];
|
---|
[206] | 339 | }
|
---|
| 340 | void SetConstructorMemberSubIndex( int constructorMemberSubIndex )
|
---|
| 341 | {
|
---|
| 342 | this->ConstructorMemberSubIndex = constructorMemberSubIndex;
|
---|
| 343 | }
|
---|
[632] | 344 | int GetConstructorMemberSubIndex() const
|
---|
| 345 | {
|
---|
| 346 | return ConstructorMemberSubIndex;
|
---|
| 347 | }
|
---|
[206] | 348 |
|
---|
| 349 | //デストラクタ メソッドを取得
|
---|
| 350 | const CMethod *GetDestructorMethod() const
|
---|
| 351 | {
|
---|
| 352 | if( DestructorMemberSubIndex == -1 ) return NULL;
|
---|
[342] | 353 | return GetDynamicMethods()[DestructorMemberSubIndex];
|
---|
[206] | 354 | }
|
---|
| 355 | void SetDestructorMemberSubIndex( int destructorMemberSubIndex )
|
---|
| 356 | {
|
---|
| 357 | this->DestructorMemberSubIndex = destructorMemberSubIndex;
|
---|
| 358 | }
|
---|
[632] | 359 | int GetDestructorMemberSubIndex() const
|
---|
| 360 | {
|
---|
| 361 | return DestructorMemberSubIndex;
|
---|
| 362 | }
|
---|
[206] | 363 |
|
---|
[232] | 364 | // ユーザ指定のアラインメント固定値
|
---|
| 365 | int GetFixedAlignment() const
|
---|
| 366 | {
|
---|
| 367 | return fixedAlignment;
|
---|
| 368 | }
|
---|
| 369 | void SetFixedAlignment( int fixedAlignment )
|
---|
| 370 | {
|
---|
| 371 | this->fixedAlignment = fixedAlignment;
|
---|
| 372 | }
|
---|
| 373 |
|
---|
[206] | 374 | // メンバの総合サイズを取得
|
---|
[409] | 375 | private:
|
---|
| 376 | int cacheSize;
|
---|
| 377 | public:
|
---|
[206] | 378 | int GetSize() const;
|
---|
| 379 |
|
---|
| 380 | // メンバのオフセットを取得
|
---|
[409] | 381 | int GetMemberOffset( const char *memberName ) const;
|
---|
[206] | 382 | private:
|
---|
| 383 | // アラインメント値を取得
|
---|
| 384 | int GetAlignment() const;
|
---|
| 385 |
|
---|
[342] | 386 |
|
---|
| 387 | /////////////////////////////////////////////////////////////////
|
---|
| 388 | // vtbl
|
---|
| 389 | /////////////////////////////////////////////////////////////////
|
---|
[206] | 390 | public:
|
---|
[342] | 391 | // vtblに存在する仮想関数の数
|
---|
| 392 | int GetVtblNum() const
|
---|
| 393 | {
|
---|
| 394 | return vtblNum;
|
---|
| 395 | }
|
---|
| 396 | void SetVtblNum( int vtblNum )
|
---|
| 397 | {
|
---|
| 398 | this->vtblNum = vtblNum;
|
---|
| 399 | }
|
---|
| 400 | void AddVtblNum( int vtblNum )
|
---|
| 401 | {
|
---|
| 402 | this->vtblNum += vtblNum;
|
---|
| 403 | }
|
---|
| 404 | bool IsExistVirtualFunctions() const
|
---|
| 405 | {
|
---|
[409] | 406 | // 構造体以外は仮想関数を持つ
|
---|
| 407 | return !IsStructure();
|
---|
[342] | 408 | }
|
---|
| 409 |
|
---|
| 410 | private:
|
---|
[593] | 411 | int vtbl_offset;
|
---|
| 412 | int comVtblOffset;
|
---|
| 413 | int vtblMasterListOffset;
|
---|
[559] | 414 | public:
|
---|
[345] | 415 | std::vector<long> vtblMasterList;
|
---|
[593] | 416 | int GetVtblOffset() const
|
---|
[559] | 417 | {
|
---|
| 418 | return vtbl_offset;
|
---|
| 419 | }
|
---|
| 420 | void SetVtblOffset( int vtblOffset )
|
---|
| 421 | {
|
---|
| 422 | this->vtbl_offset = vtblOffset;
|
---|
| 423 | }
|
---|
[593] | 424 | int GetComVtblOffset() const
|
---|
[559] | 425 | {
|
---|
| 426 | return comVtblOffset;
|
---|
| 427 | }
|
---|
| 428 | void SetComVtblOffset( int comVtblOffset )
|
---|
| 429 | {
|
---|
| 430 | this->comVtblOffset = comVtblOffset;
|
---|
| 431 | }
|
---|
[348] | 432 | void GetVtblMasterListIndexAndVtblIndex( const UserProc *pUserProc, int &vtblMasterListIndex, int &vtblIndex ) const;
|
---|
[350] | 433 | int GetVtblMasterListIndex( const CClass *pClass ) const;
|
---|
[345] | 434 | long GetVtblMasterListOffset() const;
|
---|
[559] | 435 | void SetVtblMasterListOffset( int vtblMasterListOffset )
|
---|
| 436 | {
|
---|
| 437 | this->vtblMasterListOffset = vtblMasterListOffset;
|
---|
| 438 | }
|
---|
[206] | 439 | bool IsAbstract() const;
|
---|
| 440 |
|
---|
| 441 |
|
---|
[355] | 442 | // TypeInfo用
|
---|
| 443 | mutable int typeInfoDataTableOffset;
|
---|
| 444 | void SetTypeInfoDataTableOffset( int typeInfoDataTableOffset ) const
|
---|
| 445 | {
|
---|
| 446 | this->typeInfoDataTableOffset = typeInfoDataTableOffset;
|
---|
| 447 | }
|
---|
| 448 | int GetTypeInfoDataTableOffset() const
|
---|
| 449 | {
|
---|
| 450 | return typeInfoDataTableOffset;
|
---|
| 451 | }
|
---|
| 452 |
|
---|
[387] | 453 | // 動的型データ用のメンバデータを取得
|
---|
| 454 | std::string GetStaticDefiningStringAsMemberNames() const;
|
---|
[412] | 455 | std::string GetStaticDefiningStringAsMemberOffsets() const;
|
---|
[417] | 456 | void GetReferenceOffsetsInitializeBuffer( std::string &referenceOffsetsBuffer, int &numOfReference, int baseOffset = 0 ) const;
|
---|
[206] | 457 | };
|
---|
| 458 |
|
---|
[270] | 459 | class Classes : public Jenga::Common::Hashmap<CClass>
|
---|
[206] | 460 | {
|
---|
[191] | 461 | // XMLシリアライズ用
|
---|
[206] | 462 | public:
|
---|
| 463 | Classes()
|
---|
[538] | 464 | : pStringClass( NULL )
|
---|
[206] | 465 | , pObjectClass( NULL )
|
---|
[350] | 466 | , pInterfaceInfo( NULL )
|
---|
[206] | 467 | {
|
---|
| 468 | }
|
---|
| 469 | ~Classes()
|
---|
| 470 | {
|
---|
| 471 | }
|
---|
| 472 |
|
---|
[369] | 473 | bool Insert( CClass *pClass, int nowLine );
|
---|
[206] | 474 | CClass *Add( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name,int nowLine);
|
---|
| 475 |
|
---|
[598] | 476 | const CClass *FindEx( const Symbol &symbol ) const;
|
---|
[206] | 477 |
|
---|
| 478 |
|
---|
| 479 | /////////////////////////////
|
---|
| 480 | // 特殊クラス
|
---|
| 481 | /////////////////////////////
|
---|
[272] | 482 | mutable const CClass *pStringClass;
|
---|
| 483 | mutable const CClass *pObjectClass;
|
---|
[349] | 484 | mutable const CClass *pInterfaceInfo;
|
---|
[272] | 485 | const CClass *GetStringClassPtr() const;
|
---|
| 486 | const CClass *GetObjectClassPtr() const;
|
---|
[349] | 487 | const CClass *GetInterfaceInfoClassPtr() const;
|
---|
[184] | 488 | };
|
---|