Changeset 814 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- Mar 19, 2011, 1:29:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h
r812 r814 29 29 30 30 // TypeDefを収集する 31 static void AddTypeDef( TypeDefCollection &typeDefs, const NamespaceScopes &namespaceScopes, const std::string&expression, int nowLine );31 static void AddTypeDef( TypeDefCollection &typeDefs, const NamespaceScopes &namespaceScopes, const boost::iterator_range<char const*> &expression, int nowLine ); 32 32 static void CollectTypeDefs( const char *source, TypeDefCollection &typeDefs ); 33 33 … … 35 35 static void AddConstEnum( Consts &consts, const NamespaceScopes &namespaceScopes, const char *buffer ); 36 36 static void CollectConsts( const char *source, Consts &consts, ConstMacros &constMacros ); 37 static bool ConstMacroToExpression( const ConstMacro &constMacro, const char *parameterStr, char *dest ); 37 static bool ConstMacroToExpression( const ConstMacro &constMacro, const char *parameterStr, std::string& dest ); 38 static bool ConstMacroToExpression( const ConstMacro &constMacro, const char *parameterStr, char *dest, std::size_t destSize ); 39 template<std::size_t N> 40 static bool ConstMacroToExpression( const ConstMacro &constMacro, const char *parameterStr, char (&dest)[N] ) 41 { 42 return ConstMacroToExpression(constMacro, parameterStr, dest, N); 43 } 38 44 39 45 // クラスを収集する
Note:
See TracChangeset
for help on using the changeset viewer.