[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 GetTypeSize(int type,LONG_PTR lpIndex);
|
---|
| 17 | int GetPtrType(int type);
|
---|
| 18 | BOOL GetTypeName(int type,LONG_PTR lpIndex,char *name);
|
---|
[193] | 19 | Type GetStringTypeInfo();
|
---|
[97] | 20 | void GetWithName(char *buffer);
|
---|
[206] | 21 | BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );
|
---|
[75] | 22 | void GetArrayElement( const char *buffer,char *variable,char *array_element);
|
---|
| 23 | BOOL CheckVarNameError(char *name,int nowLine);
|
---|
[206] | 24 | int JumpSubScripts( const Subscripts &subscripts );
|
---|
[97] | 25 | bool GetMemberType( const CClass &objClass, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
|
---|
[75] | 26 | bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
|
---|
[206] | 27 | bool GetVarOffsetReadOnly(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
|
---|
| 28 | bool GetVarOffsetReadWrite(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
|
---|
[75] | 29 | bool GetDimentionFormat( const char *buffer,
|
---|
| 30 | char *VarName,
|
---|
[206] | 31 | Subscripts &subscripts,
|
---|
[75] | 32 | Type &type,
|
---|
| 33 | char *InitBuf,
|
---|
| 34 | char *ConstractParameter );
|
---|
| 35 | BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
|
---|
[206] | 36 | void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
|
---|
[75] | 37 | void dim(char *Parameter,DWORD dwFlags);
|
---|
| 38 | void OpcodeDim(char *Parameter,DWORD dwFlags);
|
---|