Ignore:
Timestamp:
May 8, 2008, 3:27:32 PM (16 years ago)
Author:
dai_9181
Message:

Consts/ConstMacrosクラスのLexicalAnalyzerクラスへの依存性をなくした。

File:
1 edited

Legend:

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

    r578 r579  
    7373
    7474private:
    75     CConst *GetObjectPtr( const std::string &name );
     75    CConst *GetObjectPtr( const Symbol &symbol );
    7676public:
    7777
    78     int GetBasicType(const char *Name);
    79     _int64 GetWholeData(const char *Name);
    80     double GetDoubleData(const char *Name);
    81     bool IsStringPtr(const char *Name);
     78    int GetBasicType( const Symbol &symbol );
     79    _int64 GetWholeData( const Symbol &symbol );
     80    double GetDoubleData( const Symbol &symbol );
     81    bool IsStringPtr( const Symbol &symbol );
    8282};
    8383
     
    142142
    143143public:
    144     void Add( const NamespaceScopes &namespaceScopes, const std::string &name, const char *parameterStr );
    145     ConstMacro *Find( const std::string &name );
     144    bool Add( const NamespaceScopes &namespaceScopes, const std::string &name, const char *parameterStr );
     145    ConstMacro *Find( const Symbol &name );
    146146};
Note: See TracChangeset for help on using the changeset viewer.