Changeset 572 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 7, 2008, 10:12:21 AM (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/LexicalAnalyzer.h
r571 r572 56 56 // グローバルプロシージャを収集する 57 57 static bool AnalyzeParameter( Parameters ¶ms, const Jenga::Common::Strings ¶meterStrings, int nowLine ); 58 static bool SetParamsAndReturnTypeForUserProc( UserProc &userProc, const char *sourceOfParams, int nowLine, bool isStatic ); 58 59 static UserProc* ParseUserProc( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, char *buffer,int nowLine,bool isVirtual,CClass *pobj_c, bool isStatic, char *interfaceName = NULL ); 60 static DllProc *ParseDllProc(const NamespaceScopes &namespaceScopes, char *buffer,int nowLine); 59 61 static void CollectProcedures( const char *source, UserProcs &userProcs, DllProcs &dllProcs ); 60 62 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h
r537 r572 20 20 mutable bool isUsing; 21 21 22 protected:23 24 22 // パラメータ 25 23 Parameters params; 24 25 protected: 26 26 27 27 // 戻り値の型 … … 91 91 return codePos; 92 92 } 93 void SetCodePos( int codePos ) 94 { 95 this->codePos = codePos; 96 } 93 97 94 98 const Parameters &Params() const … … 96 100 return params; 97 101 } 102 Parameters &GetParameters() 103 { 104 return params; 105 } 98 106 const Type &ReturnType() const 107 { 108 return returnType; 109 } 110 Type &ReturnType() 99 111 { 100 112 return returnType; … … 238 250 return secondParmNum; 239 251 } 252 void SetSecondParmNum( int secondParmNum ) 253 { 254 this->secondParmNum = secondParmNum; 255 } 240 256 const Parameters &RealParams() const 257 { 258 return realParams; 259 } 260 Parameters &RealParams() 241 261 { 242 262 return realParams; … … 481 501 boost::serialization::base_object<Jenga::Common::Hashmap<DllProc>>(*this)); 482 502 } 483 484 public:485 void Add(const NamespaceScopes &namespaceScopes, char *buffer,int nowLine);486 503 }; 487 504
Note:
See TracChangeset
for help on using the changeset viewer.