package mj.compiler.ast; import java.util.Vector; class Sequence extends AST { private Vector elements = new Vector(); public Sequence(T element) { // super(element); elements.add(element); } public int length() { return elements.size(); } public T elementAt(int i) { return elements.elementAt(i); } } class AST { public AST() { } public AST(T element) { } }