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