1 package polyglot.frontend;2 3 import java.io.*;4 import polyglot.ast.*;5 import polyglot.util.*;6 7 /**8 * A parser interface. It defines one method, <code>parse()</code>,9 * which returns the root of the AST.10 */11 public interface Parser12 {13 /** Return the root of the AST */14 Node parse();15 }16