]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Parser.h
made targetless camera possible
[l2e.git] / src / loader / Parser.h
index ebfeafaacf0f9c081a0c60512818647ff0311350..392e9b74de5504bc8a8fae64b1b548a117087bd2 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef LOADER_PARSER_H_
 #define LOADER_PARSER_H_
 
+#include "fwd.h"
 #include "ParsedSource.h"
 #include "Tokenizer.h"
 
 
 namespace loader {
 
-class Declaration;
-class Definition;
-class Literal;
-class PropertyList;
-
 class Parser {
 
 public:
@@ -71,6 +67,7 @@ private:
        void AssertTokenType(Tokenizer::Token::Type actual, Tokenizer::Token::Type expected);
        void AssertTokenType(Tokenizer::Token::Type actual, Tokenizer::Token::Type expected, const std::string &msg);
        bool BeginningOfLiteral(const Tokenizer::Token &) const;
+       bool BeginningOfPrimitiveLiteral(const Tokenizer::Token &) const;
        bool BeginOfPropertyList(const Tokenizer::Token &) const;
 
 private: