edu.cornell.cs.cs4120.xi.parser
Interface Parser


public interface Parser

A parser for the Xi language.


Method Summary
 AbstractSyntaxNode parse()
          Returns an abstract syntax representation of a Xi program.
 

Method Detail

parse

AbstractSyntaxNode parse()
                         throws CompilationException
Returns an abstract syntax representation of a Xi program.

Returns:
an AST representing a program
Throws:
CompilationException - if there is a syntax error in the program