org.ourgrid.common.spec.semantic
Interface SemanticActions
- All Known Implementing Classes:
- GDFSemanticActions, JDFSemanticActions, SDFSemanticActions
public interface SemanticActions
This entity has to be used as a set of semantic actions to a determined
language type. The Compiler structure built here suggests that this set of
actions will be used by the SemanticAnalyzer only if this entity wants to
deal with more then one language. In the other case, the set of actions can
be into the semantic analyzer's implementation. Created on Jul 2, 2004
Method Summary |
int |
getOperationalMode()
|
java.util.List |
getResult()
Used to return the result of the compilation process, after execute all
the semantic actions necessary and defined by a grammar definition. |
void |
performAction(java.lang.String action,
Token token)
|
performAction
void performAction(java.lang.String action,
Token token)
throws SemanticException
- Throws:
SemanticException
- See Also:
SemanticAnalyzer.performAction(String,
Token)
getResult
java.util.List getResult()
- Used to return the result of the compilation process, after execute all
the semantic actions necessary and defined by a grammar definition.
- Returns:
- A list with all the objects constructed as answer of the
compilation This is a generic way of giving a answer because each
language needs a different answer structure.
getOperationalMode
int getOperationalMode()
- See Also:
SemanticAnalyzer.getOperationMode()