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