Changeset 205 in dev for trunk/jenga/include/smoothie
- Timestamp:
- Jul 12, 2007, 2:57:04 AM (17 years ago)
- Location:
- trunk/jenga/include/smoothie
- Files:
-
- 10 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/BasicFixed.h
r170 r205 186 186 #define ESC_IMPORTS 'q' // Imports 187 187 #define ESC_CLEARNAMESPACEIMPORTED 'r' // _ClearNamespaceImported 188 #define ESC_OPERATOR 's' 188 189 //EXEファイル用制御エスケープシーケンス 189 #define ESC_USING ' s' // Print命令語のUsing190 #define ESC_FOR ' t' // Open命令語のFor191 #define ESC_LINENUM ' u' // 行番号を示す190 #define ESC_USING 't' // Print命令語のUsing 191 #define ESC_FOR 'u' // Open命令語のFor 192 #define ESC_LINENUM 'v' // 行番号を示す 192 193 193 194 //オブジェクト指向エスケープシーケンス … … 203 204 #define ESC_INTERFACE (char)0xA9 204 205 #define ESC_ENDINTERFACE (char)0xAA 205 #define ESC_OPERATOR (char)0xAB -
trunk/jenga/include/smoothie/LexicalAnalysis.h
r173 r205 1 1 #pragma once 2 3 #include <string> 4 #include <vector> 5 6 #include <windows.h> 7 8 typedef std::vector<int> Subscripts; 9 10 enum ReferenceKind 11 { 12 RefNon = 0, // no reference member 13 RefDot, // obj.member 14 RefPointer, // obj->member 15 }; 2 16 3 17 bool IsVariableTopChar(char c); … … 13 27 bool IsCommandDelimitation( char c ); 14 28 int GetStringInPare_RemovePare(char *buffer,const char *ReadBuffer); 15 void GetArrange(char *variable,char *variAnswer,int *SubScripts); 29 void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts ); 30 bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType ); 31 bool SplitMemberName( const char *desc, char *object, char *member ); 32 void GetCalcName(int idCalc,char *name); 33 BYTE ToCalcId( const char *name ); 34 std::string Operator_NaturalStringToCalcMarkString( const std::string &name ); 35 std::string Operator_CalcMarkStringToNaturalString( const std::string &name ); -
trunk/jenga/include/smoothie/LexicalScoping.h
r181 r205 56 56 57 57 // スコープを終了 58 v oid End();58 virtual void End() = 0; 59 59 60 60 // スコープを検索 -
trunk/jenga/include/smoothie/Smoothie.h
r194 r205 2 2 3 3 #include "Source.h" 4 #include "ObjectModule.h"5 4 #include "LexicalScoping.h" 6 5 … … 27 26 class Temp{ 28 27 public: 29 // コンパイル中のクラス30 static const CClass *pCompilingClass;31 32 28 // レキシカルスコープの状態 33 29 static CLexicalScopes *pLexicalScopes; -
trunk/jenga/include/smoothie/Source.h
r173 r205 7 7 #include <stdlib.h> 8 8 9 #include "BasicFixed.h" 9 #include <jenga/include/common/Exception.h> 10 #include <jenga/include/smoothie/BasicFixed.h> 10 11 11 12 using namespace std; … … 100 101 if( index>GetLength() ) 101 102 { 102 throw "bad access";103 Jenga::Throw( "BasicSource bad access" ); 103 104 } 104 105 return buffer[2+index];
Note:
See TracChangeset
for help on using the changeset viewer.