name.angoca.db2sa.core.lexical
Class AbstractLexicalAnalyzer
java.lang.Object
name.angoca.db2sa.core.lexical.AbstractLexicalAnalyzer
- Direct Known Subclasses:
- ImplLexicalAnalyzer
public abstract class AbstractLexicalAnalyzer
- extends Object
This objects makes the analyzes over the phrase that the user is writing, and
decomposes it in several tokens, that describe words or symbols. Some of them
can be between quotation marks.
Control Version
- 0.0.1 Class creation.
- 0.1.0
- 0.2.0
- 1.0.0 Moved to version 1.
- Version:
- 1.0.0 2009-07-19
- Author:
- Andres Gomez Casanova (AngocA)
Method Summary |
abstract ReturnOptions |
processPhrase(String phrase)
Process a given phrase that represents a command and sends the options in
the screen printer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLexicalAnalyzer
public AbstractLexicalAnalyzer()
processPhrase
public abstract ReturnOptions processPhrase(String phrase)
throws InvalidGraphException
- Process a given phrase that represents a command and sends the options in
the screen printer.
- Parameters:
phrase
- Phrase to process.
- Returns:
- Set of options for the current phrase and the phrase to print.
- Throws:
InvalidGraphException
- When the graph that represents the grammar is invalid.
Andres Gomez Casanova (AngocA) 
This work is licensed under a Creative Commons Attribution 3.0 Unported License.