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

Last change on this file since 350 was 308, checked in by dai_9181, 17 years ago

静的リンクライブラリにより、複数のグローバル領域が存在することになったのでそれぞれを関数ベースに分けた

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