source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/VariableOpe.h@ 721

Last change on this file since 721 was 721, checked in by イグトランス (egtra), 16 years ago

#192への対処

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