First try for AST structure. A lot of things to change
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Literal.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Literal.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Literal.java
new file mode 100644 (file)
index 0000000..72571ba
--- /dev/null
@@ -0,0 +1,19 @@
+package net.sourceforge.phpdt.internal.compiler.ast;
+
+/**
+ * Here is the Superclass of the Literal expressions.
+ * @author Matthieu Casanova
+ */
+public abstract class Literal extends Expression {
+
+  /**
+   * Create a Literal.
+   * @param sourceStart starting offset
+   * @param sourceEnd ending offset
+   */
+  public Literal(int sourceStart, int sourceEnd) {
+    super(sourceStart, sourceEnd);
+  }
+
+  public abstract char[] source();
+}