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