Enhance Parser with a ParserContext.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / ParserContext.java
diff --git a/src/main/java/net/pterodactylus/sone/text/ParserContext.java b/src/main/java/net/pterodactylus/sone/text/ParserContext.java
new file mode 100644 (file)
index 0000000..7f38ad8
--- /dev/null
@@ -0,0 +1,15 @@
+
+package net.pterodactylus.sone.text;
+
+/**
+ * Context for the {@link Parser}. This interface needs to be implemented by
+ * {@link Parser}s that need to provide more information than just the text to
+ * parse to {@link Parser#parse(ParserContext, java.io.Reader)}.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+public interface ParserContext {
+
+       /* nothing to see. */
+
+}