All Packages Class Hierarchy This Package Previous Next Index
Class ca.carleton.sce.ucmagents.lfmparse.ASTpath
ca.carleton.sce.ucmagents.lfmparse.SimpleNode
|
+----ca.carleton.sce.ucmagents.lfmparse.ASTpath
- public class ASTpath
- extends SimpleNode
ASTpath
is a class that is used as a node in the AST
in order to contain the connections between semi-paths related to one path.
It may have a semi-path identifer, or semi-path connections as a child nodes.
It was built using jjtree 0.3.5.
- Version:
- 1.00, 1998 01 28
- Author:
- Daniel Amyot, damyot@csi.uottawa.ca
- See Also:
- ASTsemiPathConnection, ASTpathSpec, SimpleNode
-
getConnectionList()
- Return the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
-
getSemiPathId()
- Return the semi-path identifier (a String), if there is only one semi-path in the path.
-
setConnectionList(Vector)
- Set the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
-
setSemiPathId(String)
- Set the semi-path identifier (a String), if there is only one semi-path in the path.
-
toString()
-
setSemiPathId
public void setSemiPathId(String id)
- Set the semi-path identifier (a String), if there is only one semi-path in the path.
- Parameters:
- id - the semi-path identifier
getSemiPathId
public String getSemiPathId()
- Return the semi-path identifier (a String), if there is only one semi-path in the path.
If it returns NULL, then use getConnectionList.
- Returns:
- the semi-path identifier
- See Also:
- getConnectionList
setConnectionList
public void setConnectionList(Vector cl)
- Set the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
- Parameters:
- cl - the connection list
- See Also:
- ASTsemiPathConnection
getConnectionList
public Vector getConnectionList()
- Return the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
If it returns NULL, then use getSemiPathId.
- Returns:
- the semi-path identifier
- See Also:
- getSemiPathId, ASTsemiPathConnection
toString
public String toString()
- Overrides:
- toString in class SimpleNode
All Packages Class Hierarchy This Package Previous Next Index