Changeset 206 in dev for trunk/abdev/BasicCompiler_Common/VariableOpe.h
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VariableOpe.h
r193 r206 1 #pragma once 1 2 3 #include <jenga/include/smoothie/LexicalAnalysis.h> 4 5 class Type; 6 class CClass; 2 7 3 8 BOOL IsPtrType(int type); … … 14 19 Type GetStringTypeInfo(); 15 20 void GetWithName(char *buffer); 16 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, CClass::RefType&refType );21 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType ); 17 22 void GetArrayElement( const char *buffer,char *variable,char *array_element); 18 23 BOOL CheckVarNameError(char *name,int nowLine); 19 int JumpSubScripts( const int *ss);24 int JumpSubScripts( const Subscripts &subscripts ); 20 25 bool GetMemberType( const CClass &objClass, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled); 21 26 bool GetVarType( const char *nameBuffer, Type &resultType, bool isError); 22 bool GetVarOffsetReadOnly(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, int *pss = NULL );23 bool GetVarOffsetReadWrite(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, int *pss = NULL );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 ); 24 29 bool GetDimentionFormat( const char *buffer, 25 30 char *VarName, 26 int *SubScripts,31 Subscripts &subscripts, 27 32 Type &type, 28 33 char *InitBuf, 29 34 char *ConstractParameter ); 30 35 BOOL GetNowStaticVarFullName(char *VarName,char *FullName); 31 void AddGlobalVariable( const char *name, int *SubScripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);36 void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag); 32 37 void dim(char *Parameter,DWORD dwFlags); 33 38 void OpcodeDim(char *Parameter,DWORD dwFlags);
Note:
See TracChangeset
for help on using the changeset viewer.