KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ext > jl > qq > QQParser


1 package polyglot.ext.jl.qq;
2
3 import java_cup.runtime.Symbol;
4 import polyglot.ast.*;
5
6 /** Quasiquoting parser. Interface to the parser with new start rules
7   to enable quasiquoting. */

8 public interface QQParser {
9     /** Parse the input as an <code>Expr</code>. */
10     public Symbol qq_expr() throws Exception JavaDoc;
11
12     /** Parse the input as an <code>Stmt</code>. */
13     public Symbol qq_stmt() throws Exception JavaDoc;
14
15     /** Parse the input as an <code>TypeNode</code>. */
16     public Symbol qq_type() throws Exception JavaDoc;
17
18     /** Parse the input as an <code>ClassDecl</code>. */
19     public Symbol qq_decl() throws Exception JavaDoc;
20
21     /** Parse the input as an <code>SourceFile</code>. */
22     public Symbol qq_file() throws Exception JavaDoc;
23
24     /** Parse the input as an <code>ClassMember</code>. */
25     public Symbol qq_member() throws Exception JavaDoc;
26 }
27
Popular Tags