source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/StrOperation.h@ 563

Last change on this file since 563 was 400, checked in by dai_9181, 17 years ago

LexicalAnalysis.cppを除去した

File size: 1.6 KB
Line 
1typedef std::vector<int> Subscripts;
2
3enum ReferenceKind
4{
5 RefNon = 0, // no reference member
6 RefDot, // obj.member
7 RefPointer, // obj->member
8};
9
10bool IsVariableTopChar(char c);
11bool IsVariableChar( char c, bool isGenericsChars = false );
12bool IsBlank(char c);
13int GetOneParameter(const char *Parameter,int pos,char *retAns);
14int JumpOneParameter(char *Parameter,int i);
15int GetStringInQuotation(char *buffer,char *ReadBuffer);
16int GetStringInPare( char *buffer,const char *ReadBuffer, bool isRemovePare = false );
17int GetStringInBracket(char *buffer,const char *ReadBuffer);
18int GetStringInGenericBracket(char *buffer,const char *ReadBuffer);
19int JumpStringInPare(const char *buffer,int pos);
20int JumpStringInBracket(const char *buffer,int pos);
21bool IsCommandDelimitation( char c );
22int GetStringInPare_RemovePare(char *buffer,const char *ReadBuffer);
23void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts );
24void SplitParameter( const std::string &src, Jenga::Common::Strings &dests, bool isClear = true );
25bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType );
26bool SplitMemberName( const char *desc, char *object, char *member );
27void SplitSyntacticForAs( const char *src, char *varName, char *typeName);
28void GetCalcName(int idCalc,char *name);
29BYTE ToCalcId( const char *name );
30std::string Operator_NaturalStringToCalcMarkString( const std::string &name );
31std::string Operator_CalcMarkStringToNaturalString( const std::string &name );
32bool IsGenericTypeSourcePart( const char *buffer );
Note: See TracBrowser for help on using the repository browser.