source: dev/trunk/abdev/BasicCompiler_Common/VariableOpe.h@ 414

Last change on this file since 414 was 403, checked in by dai_9181, 17 years ago

プロパティ値として返ってきたオブジェクトインスタンスのインデクサを呼び出す処理をきちんと対応した。

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