OSDN Git Service

original
[gb-231r1-is01/GB_2.3_IS01.git] / cts / tools / dasm / src / java_cup / runtime / token.java
diff --git a/cts/tools/dasm/src/java_cup/runtime/token.java b/cts/tools/dasm/src/java_cup/runtime/token.java
new file mode 100644 (file)
index 0000000..0df9b81
--- /dev/null
@@ -0,0 +1,21 @@
+
+package java_cup.runtime;
+
+/** This subclass of symbol represents (at least) terminal symbols returned 
+ *  by the scanner and placed on the parse stack.  At present, this 
+ *  class does nothing more than its super class.
+ *  
+ * @see java_cup.runtime.int_token
+ * @see java_cup.runtime.str_token
+ * @version last updated: 11/25/95
+ * @author  Scott Hudson
+ */
+public class token extends symbol {
+
+  /* Simple constructor -- just delegates to the super class. */
+  public token(int term_num)
+    {
+      /* super class does all the work */
+      super(term_num);
+    }
+};