|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Type of the AST node.public interface Visitor<T>
Generic AST visitor interface.
Method Summary | |
---|---|
org.objectweb.fractal.api.Component |
visit(java.util.List<org.objectweb.fractal.adl.Node> path,
T node,
java.util.Map<java.lang.Object,java.lang.Object> context)
Visits an AST node and creates a component task that models the processing to be done on this node. |
Method Detail |
---|
org.objectweb.fractal.api.Component visit(java.util.List<org.objectweb.fractal.adl.Node> path, T node, java.util.Map<java.lang.Object,java.lang.Object> context) throws org.objectweb.fractal.adl.ADLException, TaskException
path
- a list containing all the parent nodes of the visited node
stating from the root of the AST.node
- the AST Node to be visited.context
- additional parameters.
ADLException
- if something wrong is found in the AST.
TaskException
- if something wrong happens during the instantiation
of the task component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |