Changeset 569 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- May 6, 2008, 8:26:38 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Parameter.h
r568 r569 100 100 return (int)this->size() * PTR_SIZE; 101 101 } 102 103 std::string GetString() const;104 102 }; -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Parameter.cpp
r568 r569 87 87 return true; 88 88 } 89 90 std::string Parameters::GetString() const91 {92 std::string result;93 94 const Parameters ¶ms = *this;95 BOOST_FOREACH( const Parameter *pParam, params )96 {97 if( result.size() )98 {99 result += ",";100 }101 102 result += pParam->GetVarName() + " As " + compiler.TypeToString( *pParam );103 }104 return result;105 }
Note:
See TracChangeset
for help on using the changeset viewer.