Ignore:
Timestamp:
Jul 12, 2007, 2:58:26 AM (17 years ago)
Author:
dai_9181
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/VariableOpe.h

    r193 r206  
     1#pragma once
    12
     3#include <jenga/include/smoothie/LexicalAnalysis.h>
     4
     5class Type;
     6class CClass;
    27
    38BOOL IsPtrType(int type);
     
    1419Type GetStringTypeInfo();
    1520void GetWithName(char *buffer);
    16 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, CClass::RefType &refType );
     21BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );
    1722void GetArrayElement( const char *buffer,char *variable,char *array_element);
    1823BOOL CheckVarNameError(char *name,int nowLine);
    19 int JumpSubScripts(const int *ss);
     24int JumpSubScripts( const Subscripts &subscripts );
    2025bool GetMemberType( const CClass &objClass, const char *lpszMember, Type &resultType, BOOL bPrivateAccess, bool isErrorEnabled);
    2126bool GetVarType( const char *nameBuffer, Type &resultType, bool isError);
    22 bool GetVarOffsetReadOnly(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = NULL );
    23 bool GetVarOffsetReadWrite(const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = NULL );
     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 );
    2429bool GetDimentionFormat( const char *buffer,
    2530                        char *VarName,
    26                         int *SubScripts,
     31                        Subscripts &subscripts,
    2732                        Type &type,
    2833                        char *InitBuf,
    2934                        char *ConstractParameter );
    3035BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
    31 void AddGlobalVariable( const char *name,int *SubScripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
     36void AddGlobalVariable( const char *name, const Subscripts &subscripts, const Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlag);
    3237void dim(char *Parameter,DWORD dwFlags);
    3338void OpcodeDim(char *Parameter,DWORD dwFlags);
Note: See TracChangeset for help on using the changeset viewer.