[206] | 1 | #pragma once
|
---|
[75] | 2 |
|
---|
[206] | 3 | #include <jenga/include/smoothie/LexicalAnalysis.h>
|
---|
[75] | 4 |
|
---|
[206] | 5 | class Type;
|
---|
| 6 | class CClass;
|
---|
| 7 |
|
---|
[75] | 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);
|
---|
[193] | 18 | Type GetStringTypeInfo();
|
---|
[97] | 19 | void GetWithName(char *buffer);
|
---|
[206] | 20 | BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );
|
---|
[75] | 21 | void GetArrayElement( const char *buffer,char *variable,char *array_element);
|
---|
| 22 | BOOL CheckVarNameError(char *name,int nowLine);
|
---|
[206] | 23 | int JumpSubScripts( const Subscripts &subscripts );
|
---|
[290] | 24 | bool GetMemberType( const Type &classType, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
|
---|
[75] | 25 | bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
|
---|
[206] | 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 );
|
---|
[75] | 28 | bool GetDimentionFormat( const char *buffer,
|
---|
| 29 | char *VarName,
|
---|
[206] | 30 | Subscripts &subscripts,
|
---|
[75] | 31 | Type &type,
|
---|
| 32 | char *InitBuf,
|
---|
| 33 | char *ConstractParameter );
|
---|
| 34 | BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
|
---|
[206] | 35 | void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
|
---|
[75] | 36 | void dim(char *Parameter,DWORD dwFlags);
|
---|
| 37 | void OpcodeDim(char *Parameter,DWORD dwFlags);
|
---|