Package com.agentfactory.common.parser

This class implements support for performing lexical analysis of source code and generating corresponding parse trees.

See:
          Description

Interface Summary
Scanner This is a public interface that should be implemented by all syntax scanners.
 

Class Summary
Handler This is an abstract base class that should be extended to implement support for individual statement types within the source programming language.
Node This class implements a node in the parse tree that is generated by the parsing process.
Parser This class implements the core parse tree generation algorithm.
Token Tokens are the basic units of the scanning and parsing process.
Visitor This interface should be used to implemnet any visitor classes that you wish to use to traverse the parse tree.
 

Exception Summary
SemanticError This exception is thrown whenever one of the visitors detects a semantic error in the source code of the program.
SyntaxError This exception is thrown whenever one of the handlers detects a syntax error in the source code of the program.
 

Package com.agentfactory.common.parser Description

This class implements support for performing lexical analysis of source code and generating corresponding parse trees.