diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-02 15:52:13 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-02 15:52:13 +0100 |
commit | 5d6ee07995c7f59e66e0df558c8ebe7d2a8d1f68 (patch) | |
tree | 4e52145bb12ba25082a4c149efaa7f8c24d51728 /src/core/parser/stack/TokenStack.hpp | |
parent | 88afbcc2a4c4cb9956e4459cf1c5aa08e349835e (diff) |
refactored SyntaxDescriptor to Token.hpp and added TokenDescriptor class.
Diffstat (limited to 'src/core/parser/stack/TokenStack.hpp')
-rw-r--r-- | src/core/parser/stack/TokenStack.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/parser/stack/TokenStack.hpp b/src/core/parser/stack/TokenStack.hpp index 9669f50..af734bb 100644 --- a/src/core/parser/stack/TokenStack.hpp +++ b/src/core/parser/stack/TokenStack.hpp @@ -32,6 +32,7 @@ #include <vector> #include <core/common/Token.hpp> +#include <core/model/Syntax.hpp> namespace ousia { namespace parser_stack { @@ -52,7 +53,7 @@ private: * Stack containing vectors of TokenSyntaxDescriptor instances as given by * the user. */ - std::vector<std::vector<TokenSyntaxDescriptor>> stack; + std::vector<std::vector<SyntaxDescriptor>> stack; /** * Constructor of the TokenStack class. @@ -86,7 +87,7 @@ public: * @param tokens is a list of TokenSyntaxDescriptor instances that should be * stored on the stack. */ - void pushTokens(const std::vector<TokenSyntaxDescriptor> &tokens); + void pushTokens(const std::vector<SyntaxDescriptor> &tokens); /** * Removes the previously pushed list of tokens from the stack. |