src/Parser.h

changeset 116
56ff19947607
parent 115
9be16e1c1e44
equal deleted inserted replaced
115:9be16e1c1e44 116:56ff19947607
222 bool m_isElseAllowed; 222 bool m_isElseAllowed;
223 int m_highestGlobalVarIndex; 223 int m_highestGlobalVarIndex;
224 int m_highestStateVarIndex; 224 int m_highestStateVarIndex;
225 int m_numWrittenBytes; 225 int m_numWrittenBytes;
226 List<ScopeInfo> m_scopeStack; 226 List<ScopeInfo> m_scopeStack;
227 int m_zandronumVersion;
228 bool m_defaultZandronumVersion;
227 229
228 DataBuffer* currentBuffer(); 230 DataBuffer* currentBuffer();
229 void parseStateBlock(); 231 void parseStateBlock();
230 void parseEventBlock(); 232 void parseEventBlock();
231 void parseMainloop(); 233 void parseMainloop();
244 void parseContinue(); 246 void parseContinue();
245 void parseBlockEnd(); 247 void parseBlockEnd();
246 void parseLabel(); 248 void parseLabel();
247 void parseEventdef(); 249 void parseEventdef();
248 void parseFuncdef(); 250 void parseFuncdef();
251 void parseUsing();
249 void writeMemberBuffers(); 252 void writeMemberBuffers();
250 void writeStringTable(); 253 void writeStringTable();
251 DataBuffer* parseExpression (DataType reqtype, bool fromhere = false); 254 DataBuffer* parseExpression (DataType reqtype, bool fromhere = false);
252 DataHeader getAssigmentDataHeader (AssignmentOperator op, Variable* var); 255 DataHeader getAssigmentDataHeader (AssignmentOperator op, Variable* var);
253 }; 256 };

mercurial