Changeset 339 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Oct 3, 2007, 3:42:05 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Delegate.h
r325 r339 6 6 class Delegate : public Procedure, public Jenga::Common::ObjectInHashmap<Delegate> 7 7 { 8 Parameters dynamicParams; 9 8 10 public: 9 11 Delegate( const NamespaceScopes &namespaceScopes, const std::string &name, Procedure::Kind procKind, const char *paramStr, const Type &returnType, int nowLine ); … … 16 18 return GetName(); 17 19 } 20 21 const Parameters &GetDynamicParams() const 22 { 23 return dynamicParams; 24 } 18 25 }; 19 26 -
trunk/abdev/BasicCompiler_Common/src/Delegate.cpp
r335 r339 8 8 this->returnType = returnType; 9 9 params.Analyze( paramStr, nowLine ); 10 11 dynamicParams = params; 12 dynamicParams.insert( dynamicParams.begin(), new Parameter( "_System_LocalThis", Type( DEF_PTR_VOID ) ) ); 10 13 } 11 14
Note:
See TracChangeset
for help on using the changeset viewer.