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

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

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

File size: 1.8 KB
RevLine 
[206]1#pragma once
[75]2
[206]3#include <jenga/include/smoothie/LexicalAnalysis.h>
[75]4
[206]5class Type;
6class CClass;
7
[75]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);
[193]19Type GetStringTypeInfo();
[97]20void GetWithName(char *buffer);
[206]21BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );
[75]22void GetArrayElement( const char *buffer,char *variable,char *array_element);
23BOOL CheckVarNameError(char *name,int nowLine);
[206]24int JumpSubScripts( const Subscripts &subscripts );
[97]25bool GetMemberType( const CClass &objClass, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
[75]26bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
[206]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 );
[75]29bool GetDimentionFormat( const char *buffer,
30 char *VarName,
[206]31 Subscripts &subscripts,
[75]32 Type &type,
33 char *InitBuf,
34 char *ConstractParameter );
35BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
[206]36void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
[75]37void dim(char *Parameter,DWORD dwFlags);
38void OpcodeDim(char *Parameter,DWORD dwFlags);
Note: See TracBrowser for help on using the repository browser.