Changeset 547 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 4, 2008, 10:07:31 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Enum.h
r505 r547 46 46 } 47 47 48 void Collect( const char *buffer, int nowLine );49 50 48 const EnumMember &GetEnumMember( const std::string &memberName ) const 51 49 { … … 58 56 } 59 57 throw; 58 } 59 60 std::vector<EnumMember> &GetEnumMembers() 61 { 62 return members; 60 63 } 61 64 }; … … 77 80 return NULL; 78 81 }; 79 80 void InitEnum(void);81 char *GenerateSourceCode(void);82 82 }; -
trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h
r543 r547 26 26 static Symbol FullNameToSymbol( const char *fullName ); 27 27 static Symbol FullNameToSymbol( const std::string &fullName ); 28 29 // 列挙型を収集 30 static void CollectEnumMembers( EnumInfo &enumInfo, const char *buffer, int nowLine ); 31 static void CollectEnums( const char *source, EnumInfoCollection &enums ); 32 static std::string GenerateEnumsSourceCode( const EnumInfoCollection &enums ); 28 33 29 34 // クラスの名前情報を収集する
Note:
See TracChangeset
for help on using the changeset viewer.