Toward core module compiling.
This commit is contained in:
parent
c25a56ee19
commit
3ed195d7dd
305 changed files with 1774 additions and 1065 deletions
|
@ -1,12 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "String.h"
|
||||
#include <stack>
|
||||
#include "Memory.h"
|
||||
#include "Stack.h"
|
||||
#include "Pointer.h"
|
||||
|
||||
class XmlDocument;
|
||||
using XmlDocumentPtr = Ptr<XmlDocument>;
|
||||
|
||||
class XmlElement;
|
||||
|
||||
class XmlParser
|
||||
|
@ -38,9 +36,9 @@ public:
|
|||
public:
|
||||
XmlParser();
|
||||
|
||||
void processLine(const String& input);
|
||||
Ptr<XmlDocument> getDocument();
|
||||
|
||||
XmlDocumentPtr getDocument();
|
||||
void processLine(const String& input);
|
||||
|
||||
private:
|
||||
void onLeftBracket();
|
||||
|
@ -92,8 +90,8 @@ private:
|
|||
private:
|
||||
DocumentState mDocumentState;
|
||||
LineState mLineState;
|
||||
XmlDocumentPtr mDocument;
|
||||
std::stack<XmlElement*> mWorkingElements;
|
||||
Ptr<XmlDocument> mDocument;
|
||||
Stack<XmlElement*> mWorkingElements;
|
||||
|
||||
String mWorkingAttributeName;
|
||||
String mWorkingTagName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue