move parserContext to its own file

This change allows us to include ast_handlers.hpp just once.

Change-Id: Ib6c70d27f79422c8b90b3006cffdb6e747ca346c
diff --git a/src/parser_context.cpp b/src/parser_context.cpp
new file mode 100644
index 0000000..c3b31c9
--- /dev/null
+++ b/src/parser_context.cpp
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
+ * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
+ *
+ * Written by Václav Kubernát <kubervac@fit.cvut.cz>
+ *
+*/
+
+#include "parser_context.hpp"
+ParserContext::ParserContext(const CTree& tree)
+        : m_tree(tree)
+{
+    m_curPath = m_tree.currentNode();
+}