org.ourgrid.common.spec.syntactical
Interface SyntacticalAnalyzer

All Known Implementing Classes:
CommonSyntacticalAnalyzer

public interface SyntacticalAnalyzer

This interface has to be implemented for every new language that will be compiled. This will have to use the knowledge of a grammar to derivate the sequences that can be accepted by it. This will have to use the services of the Lexical module to ask it for Tokens.


Method Summary
 void startCompilation()
          This is the "main" method then it will start the compilation process.
 

Method Detail

startCompilation

void startCompilation()
                      throws SyntacticalException
This is the "main" method then it will start the compilation process. Here will be made the syntactical compilation of source that is: given a source, will be checked if it is or not valid according to the rules of the grammar's language.

Throws:
SyntacticalException