KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > frontend > Parser


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 Parser
12 {
13     /** Return the root of the AST */
14     Node parse();
15 }
16
Popular Tags