1 | #pragma once
|
---|
2 |
|
---|
3 | #include <string>
|
---|
4 | #include <vector>
|
---|
5 |
|
---|
6 | #include <windows.h>
|
---|
7 |
|
---|
8 | typedef std::vector<int> Subscripts;
|
---|
9 |
|
---|
10 | enum ReferenceKind
|
---|
11 | {
|
---|
12 | RefNon = 0, // no reference member
|
---|
13 | RefDot, // obj.member
|
---|
14 | RefPointer, // obj->member
|
---|
15 | };
|
---|
16 |
|
---|
17 | bool IsVariableTopChar(char c);
|
---|
18 | bool IsVariableChar(char c);
|
---|
19 | bool IsBlank(char c);
|
---|
20 | int GetOneParameter(const char *Parameter,int pos,char *retAns);
|
---|
21 | int JumpOneParameter(char *Parameter,int i);
|
---|
22 | int GetStringInQuotation(char *buffer,char *ReadBuffer);
|
---|
23 | int GetStringInPare(char *buffer,const char *ReadBuffer);
|
---|
24 | int GetStringInBracket(char *buffer,const char *ReadBuffer);
|
---|
25 | int GetStringInGenericBracket(char *buffer,const char *ReadBuffer);
|
---|
26 | int JumpStringInPare(const char *buffer,int pos);
|
---|
27 | int JumpStringInBracket(const char *buffer,int pos);
|
---|
28 | bool IsCommandDelimitation( char c );
|
---|
29 | int GetStringInPare_RemovePare(char *buffer,const char *ReadBuffer);
|
---|
30 | void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts );
|
---|
31 | bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType );
|
---|
32 | bool SplitMemberName( const char *desc, char *object, char *member );
|
---|
33 | void GetCalcName(int idCalc,char *name);
|
---|
34 | BYTE ToCalcId( const char *name );
|
---|
35 | std::string Operator_NaturalStringToCalcMarkString( const std::string &name );
|
---|
36 | std::string Operator_CalcMarkStringToNaturalString( const std::string &name );
|
---|
37 | bool IsGenericTypeSourcePart( const char *buffer );
|
---|