summaryrefslogtreecommitdiffstats
path: root/poxml/antlr/src/TreeParserSharedInputState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'poxml/antlr/src/TreeParserSharedInputState.cpp')
-rw-r--r--poxml/antlr/src/TreeParserSharedInputState.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/poxml/antlr/src/TreeParserSharedInputState.cpp b/poxml/antlr/src/TreeParserSharedInputState.cpp
new file mode 100644
index 00000000..89f1d5dc
--- /dev/null
+++ b/poxml/antlr/src/TreeParserSharedInputState.cpp
@@ -0,0 +1,22 @@
+#include "antlr/TreeParserSharedInputState.hpp"
+
+ANTLR_BEGIN_NAMESPACE(antlr)
+
+/** This object contains the data associated with an
+ * input AST. Multiple parsers
+ * share a single TreeParserSharedInputState to parse
+ * the same tree or to have the parser walk multiple
+ * trees.
+ */
+
+TreeParserInputState::TreeParserInputState()
+: guessing(0)
+{
+}
+
+TreeParserInputState::~TreeParserInputState()
+{
+}
+
+ANTLR_END_NAMESPACE
+