source: dev/branches/egtra/ab5.0/abdev/BasicCompiler_Common/StrOperation.h

Last change on this file was 821, checked in by イグトランス (egtra), 13 years ago

単体テスト周りの修正

File size: 1.4 KB
Line 
1#pragma once
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 );
30bool IsGenericTypeSourcePart( const char *buffer );
Note: See TracBrowser for help on using the repository browser.