use Sequence.Pos rather than Sequence.Position wherever possible
[sbp.git] / src / edu / berkeley / sbp / Element.java
1 // (C) 2006-2007 all rights reserved; see LICENSE file for BSD-style license
2
3 package edu.berkeley.sbp;
4 import java.util.*;
5
6 /**
7  *  <font color=green>
8  *  the root superclass for all components of the grammar (terminals,
9  *  nonterminals, literals, etc)
10  *  </font>
11  */
12 public abstract class Element implements SequenceOrElement {
13
14     /** sorry, you can't make up new, custom elements */
15     Element() { }
16
17     /** a more verbose version of toString() for displaying whole grammars */
18     abstract StringBuffer toString(StringBuffer sb);
19
20 }