Type clean up: ParserStack -> Stack
This commit is contained in:
parent
2fb555e253
commit
d464cc328e
1 changed files with 3 additions and 5 deletions
|
@ -21,8 +21,6 @@
|
||||||
namespace charles {
|
namespace charles {
|
||||||
namespace yaml {
|
namespace yaml {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Parser handles parsing a chunk of YAML, updating its mScene member as
|
* A Parser handles parsing a chunk of YAML, updating its mScene member as
|
||||||
* necessary.
|
* necessary.
|
||||||
|
@ -56,7 +54,7 @@ struct Parser
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Constructor */
|
/** Constructor */
|
||||||
Parser(Scene& scene, ParserStack& parsers);
|
Parser(Scene& scene, Stack& parsers);
|
||||||
|
|
||||||
/** Destructor */
|
/** Destructor */
|
||||||
virtual ~Parser();
|
virtual ~Parser();
|
||||||
|
@ -125,14 +123,14 @@ struct Parser
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Scene& GetScene() const;
|
Scene& GetScene() const;
|
||||||
ParserStack& GetParsers() const;
|
Stack& GetParsers() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/** The Scene being described by the YAML this parser is parsing. */
|
/** The Scene being described by the YAML this parser is parsing. */
|
||||||
Scene& mScene;
|
Scene& mScene;
|
||||||
|
|
||||||
/** The stack of parsers. */
|
/** The stack of parsers. */
|
||||||
ParserStack& mParsers;
|
Stack& mParsers;
|
||||||
|
|
||||||
/** `true` if the parser is done parsing */
|
/** `true` if the parser is done parsing */
|
||||||
bool mDone;
|
bool mDone;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue