Ignore:
Timestamp:
May 4, 2008, 1:09:11 AM (17 years ago)
Author:
dai_9181
Message:

CollectTypeDefsメソッドをLexicalAnalyzerクラスに移動した。

Location:
trunk/ab5.0/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h

    r531 r542  
    3030    static void CollectClassesForNameOnly( const char *source, Classes &classes );
    3131
     32    // TypeDefを収集する
     33    static void AddTypeDef( TypeDefCollection &typeDefs, const NamespaceScopes &namespaceScopes, const std::string &expression, int nowLine );
     34    static void CollectTypeDefs( const char *source, TypeDefCollection &typeDefs );
     35
    3236    // クラスを収集する
    3337    static void AddMethod(CClass *pobj_c, UserProc *pUserProc, Prototype::Accessibility accessibility, BOOL bStatic, bool isConst, bool isAbstract,
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/TypeDef.h

    r524 r542  
    2323
    2424public:
    25     TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine );
     25    TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, const Type &baseType );
    2626    TypeDef()
    2727    {
     
    6161    int GetIndex( const NamespaceScopes &namespaceScopes, const std::string &name ) const;
    6262    int GetIndex( const std::string &fullName ) const;
    63 
    64 private:
    65     void Add( const NamespaceScopes &namespaceScopes, const std::string &expression, int nowLine );
    66 public:
    67     void CollectTypeDefs();
    6863};
Note: See TracChangeset for help on using the changeset viewer.