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

Last change on this file since 236 was 206, checked in by dai_9181, 17 years ago

コード全体のリファクタリングを実施

File size: 1.8 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 GetTypeSize(int type,LONG_PTR lpIndex);
17int GetPtrType(int type);
18BOOL GetTypeName(int type,LONG_PTR lpIndex,char *name);
19Type GetStringTypeInfo();
20void GetWithName(char *buffer);
21BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );
22void GetArrayElement( const char *buffer,char *variable,char *array_element);
23BOOL CheckVarNameError(char *name,int nowLine);
24int JumpSubScripts( const Subscripts &subscripts );
25bool GetMemberType( const CClass &objClass, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
26bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
27bool GetVarOffsetReadOnly(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
28bool GetVarOffsetReadWrite(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL );
29bool GetDimentionFormat( const char *buffer,
30 char *VarName,
31 Subscripts &subscripts,
32 Type &type,
33 char *InitBuf,
34 char *ConstractParameter );
35BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
36void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
37void dim(char *Parameter,DWORD dwFlags);
38void OpcodeDim(char *Parameter,DWORD dwFlags);
Note: See TracBrowser for help on using the repository browser.