1 | #pragma once
|
---|
2 |
|
---|
3 | enum PareOrBracket
|
---|
4 | {
|
---|
5 | None = 0,
|
---|
6 | Pare, // (...)
|
---|
7 | Bracket, // [...]
|
---|
8 | };
|
---|
9 |
|
---|
10 | BOOL IsPtrType(int type);
|
---|
11 | BOOL IsSignedType(int type);
|
---|
12 | BOOL IsNaturalWholeNumberType(int type);
|
---|
13 | BOOL IsWholeNumberType(int type);
|
---|
14 | BOOL IsRealNumberType(int type);
|
---|
15 | BOOL Is64Type(int type);
|
---|
16 | int GetSignedType(int type);
|
---|
17 | int GetUnsignedType(int type);
|
---|
18 | int GetPtrType(int type);
|
---|
19 | BOOL GetTypeName(int type,LONG_PTR lpIndex,char *name);
|
---|
20 | Type GetStringTypeInfo();
|
---|
21 | void GetWithName(char *buffer);
|
---|
22 | BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType, PareOrBracket *pPareOrBracket = NULL );
|
---|
23 | void GetArrayElement( const char *buffer,char *variable,char *array_element);
|
---|
24 | BOOL CheckVarNameError(char *name,int nowLine);
|
---|
25 | int JumpSubScripts( const Subscripts &subscripts );
|
---|
26 | bool GetMemberType( const Type &classType, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
|
---|
27 | bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
|
---|
28 | bool GetVarOffsetReadOnly(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
|
---|
29 | bool GetVarOffsetReadWrite(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
|
---|
30 | bool GetDimentionFormat( const char *buffer,
|
---|
31 | char *VarName,
|
---|
32 | Subscripts &subscripts,
|
---|
33 | Type &type,
|
---|
34 | char *InitBuf,
|
---|
35 | char *ConstractParameter );
|
---|
36 | BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
|
---|
37 | void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
|
---|
38 | void dim(char *Parameter,DWORD dwFlags);
|
---|
39 | void OpcodeDim(char *Parameter,DWORD dwFlags);
|
---|
40 | void DebugVariable(void);
|
---|