|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CBasicVisitor ujf.verimag.bip.codegen.CBipVisitor
public abstract class CBipVisitor
Visitor for the C language ASG created by the codegen library. This visitor only contains helpful methods for the handling of interaction points.
Field Summary | |
---|---|
protected java.util.Set<InteractionPoint> |
interaction_method_names
Contains the list of methods considered as interactions with the outside of the newly created component |
Constructor Summary | |
---|---|
CBipVisitor()
|
Method Summary | ||
---|---|---|
void |
addInteractionMethod(InteractionPoint methodName)
Adds a new method to the set of C function considered as interaction methods. |
|
void |
addInteractionMethod(InteractionPoint[] points)
Add a set of interaction point to the current set of interaction points. |
|
void |
clearInteractionMethods()
Clears the set of the C function considered as interaction methods. |
|
protected
|
getMatchForFunctionCall(
Get the interaction point corresponding to a function call |
|
protected
|
matchAnyFunctionCall(
Test whether or not a given function call corresponds to an interaction point |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Set<InteractionPoint> interaction_method_names
Constructor Detail |
---|
public CBipVisitor()
Method Detail |
---|
public void addInteractionMethod(InteractionPoint methodName)
methodName
- the method name (only the function symbol)public void addInteractionMethod(InteractionPoint[] points)
points
- the interaction points to addprotected <ReturnTypeClass extends CType> boolean matchAnyFunctionCall(fcall)
ReturnTypeClass
- fcall
- the function call object
protected <ReturnTypeClass extends CType> InteractionPoint getMatchForFunctionCall(fcall)
ReturnTypeClass
- fcall
- the function call
public void clearInteractionMethods()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |