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

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

#192への対処

File size: 1.8 KB
RevLine 
[206]1#pragma once
[75]2
[429]3enum PareOrBracket
4{
5 None = 0,
6 Pare, // (...)
7 Bracket, // [...]
8};
9
[75]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);
[193]20Type GetStringTypeInfo();
[97]21void GetWithName(char *buffer);
[721]22bool GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType, PareOrBracket *pPareOrBracket = NULL );
[75]23void GetArrayElement( const char *buffer,char *variable,char *array_element);
24BOOL CheckVarNameError(char *name,int nowLine);
[206]25int JumpSubScripts( const Subscripts &subscripts );
[290]26bool GetMemberType( const Type &classType, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
[75]27bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
[206]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 );
[75]30bool GetDimentionFormat( const char *buffer,
31 char *VarName,
[206]32 Subscripts &subscripts,
[75]33 Type &type,
34 char *InitBuf,
35 char *ConstractParameter );
36BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
[206]37void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
[75]38void dim(char *Parameter,DWORD dwFlags);
39void OpcodeDim(char *Parameter,DWORD dwFlags);
[308]40void DebugVariable(void);
Note: See TracBrowser for help on using the repository browser.