]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Parser.h
removed lazy fwd headers
[l2e.git] / src / loader / Parser.h
index 392e9b74de5504bc8a8fae64b1b548a117087bd2..addb9dacac525b072f385c9896fa30efe55c4ddd 100644 (file)
@@ -1,15 +1,15 @@
-/*
- * Parser.h
- *
- *  Created on: Aug 26, 2012
- *      Author: holy
- */
-
 #ifndef LOADER_PARSER_H_
 #define LOADER_PARSER_H_
 
-#include "fwd.h"
-#include "ParsedSource.h"
+namespace loader {
+       class Definition;
+       class Declaration;
+       class Literal;
+       class ParsedSource;
+       class PropertyList;
+       class Value;
+}
+
 #include "Tokenizer.h"
 
 #include <fstream>
@@ -62,6 +62,7 @@ private:
        Literal *ParseArray();
        Literal *ParseColor();
        Literal *ParseVector();
+       Literal *ParseScript();
 
 private:
        void AssertTokenType(Tokenizer::Token::Type actual, Tokenizer::Token::Type expected);
@@ -69,6 +70,7 @@ private:
        bool BeginningOfLiteral(const Tokenizer::Token &) const;
        bool BeginningOfPrimitiveLiteral(const Tokenizer::Token &) const;
        bool BeginOfPropertyList(const Tokenizer::Token &) const;
+       bool BeginningOfScriptLiteral(const Tokenizer::Token &) const;
 
 private:
        std::string file;