|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SemanticAnalyzer
This entity is responsable for building a answer using the semantic actions defined at the grammar. The structure of this interface sugests the use of Introspection to call the method defined by the name of the action.
Method Summary | |
---|---|
int |
getOperationMode()
Returns a integer code that can be used to signalize some functional modes. |
void |
performAction(java.lang.String action,
Token token)
This is the interface method for the semantic actions. |
Method Detail |
---|
void performAction(java.lang.String action, Token token) throws SemanticException
action
- The name of the action. It is generally a integer number.token
- The token that will be used at action
SemanticException
- If the action does not exists or any other
problem happens.int getOperationMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |