src/Parser.h

changeset 110
7a7a53f1d51b
parent 108
6409ece8297c
child 111
87d9ebd3ef34
equal deleted inserted replaced
109:6572803cd0ca 110:7a7a53f1d51b
182 void PushScope (EReset reset = SCOPE_Reset); 182 void PushScope (EReset reset = SCOPE_Reset);
183 DataBuffer* ParseStatement(); 183 DataBuffer* ParseStatement();
184 void AddSwitchCase (DataBuffer* b); 184 void AddSwitchCase (DataBuffer* b);
185 void CheckToplevel(); 185 void CheckToplevel();
186 void CheckNotToplevel(); 186 void CheckNotToplevel();
187 bool TokenIs (EToken a); 187 bool TokenIs (TokenType a);
188 String GetTokenString(); 188 String GetTokenString();
189 String DescribePosition() const; 189 String DescribePosition() const;
190 void WriteToFile (String outfile); 190 void WriteToFile (String outfile);
191 Variable* FindVariable (const String& name); 191 Variable* FindVariable (const String& name);
192 bool IsInGlobalState() const; 192 bool IsInGlobalState() const;

mercurial