source: dev/trunk/jenga/include/smoothie/LexicalAnalysis.h@ 267

Last change on this file since 267 was 205, checked in by dai_9181, 17 years ago

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

File size: 1.3 KB
Line 
1#pragma once
2
3#include <string>
4#include <vector>
5
6#include <windows.h>
7
8typedef std::vector<int> Subscripts;
9
10enum ReferenceKind
11{
12 RefNon = 0, // no reference member
13 RefDot, // obj.member
14 RefPointer, // obj->member
15};
16
17bool IsVariableTopChar(char c);
18bool IsVariableChar(char c);
19bool IsBlank(char c);
20int GetOneParameter(const char *Parameter,int pos,char *retAns);
21int JumpOneParameter(char *Parameter,int i);
22int GetStringInQuotation(char *buffer,char *ReadBuffer);
23int GetStringInPare(char *buffer,const char *ReadBuffer);
24int GetStringInBracket(char *buffer,const char *ReadBuffer);
25int JumpStringInPare(const char *buffer,int pos);
26int JumpStringInBracket(const char *buffer,int pos);
27bool IsCommandDelimitation( char c );
28int GetStringInPare_RemovePare(char *buffer,const char *ReadBuffer);
29void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts );
30bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType );
31bool SplitMemberName( const char *desc, char *object, char *member );
32void GetCalcName(int idCalc,char *name);
33BYTE ToCalcId( const char *name );
34std::string Operator_NaturalStringToCalcMarkString( const std::string &name );
35std::string Operator_CalcMarkStringToNaturalString( const std::string &name );
Note: See TracBrowser for help on using the repository browser.