ASTNode ::= Declaration*;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.StateMachine
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
| FRAMES NO FRAMES | |||||||
ASTNode ::= Declaration*;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.StateMachine
spec/StateMachine.ast at line 6public StateMachine()
public StateMachine(List<Declaration> p0)
syn int numberOfTransitions()
spec/Exercises.jrag at line 64
coll Counter numberOfTransitionsColl()
spec/Exercises.jrag at line 66
coll java.util.Set<java.lang.String> errors()
spec/Exercises.jrag at line 83
public StateMachine clone() throws java.lang.CloneNotSupportedException
public StateMachine copy()
public StateMachine fullCopy()
public void pp()
spec/PrettyPrint.jrag at line 6
public void printInfoAboutCycles()
spec/PrintInfoAboutCycles.jrag at line 4
public void printReachable()
spec/PrintReachable.jrag at line 4
public void init$Children()
init$Children in class ASTNode<ASTNode>protected int numChildren()
numChildren in class ASTNode<ASTNode>public void flushCache()
flushCache in class ASTNode<ASTNode>public void flushCollectionCache()
flushCollectionCache in class ASTNode<ASTNode>public void setDeclarationList(List<Declaration> list)
list - The new list node to be used as the Declaration list.public int getNumDeclaration()
public int getNumDeclarationNoTransform()
public Declaration getDeclaration(int i)
i in the Declaration list.i - Index of the element to return.
i in the Declaration list.public boolean hasDeclaration()
true if it has at least one child, false otherwise.public void addDeclaration(Declaration node)
node - The element to append to the Declaration list.public void addDeclarationNoTransform(Declaration node)
public void setDeclaration(Declaration node, int i)
i with the new node node.node - The new node to replace the old list element.i - The list index of the node to be replaced.public List<Declaration> getDeclarationList()
public List<Declaration> getDeclarationListNoTransform()
This method does not invoke AST transformations.
public List<Declaration> getDeclarations()
public List<Declaration> getDeclarationsNoTransform()
This method does not invoke AST transformations.
protected void collect_contributors_StateMachine_numberOfTransitionsColl()
protected void collect_contributors_StateMachine_errors()
protected void collect_contributors_State_altSuccessors()
protected void collect_contributors_State_predecessors()
protected void collect_contributors_State_altReachable()
protected void collect_contributors_State_transitions()
public State Define_State_lookupForward(ASTNode caller, ASTNode child, java.lang.String label)
Define_State_lookupForward in class ASTNode<ASTNode>spec/Exercises.jrag at line 17public java.util.Set<Transition> Define_Set_Transition__transitionsOf(ASTNode caller, ASTNode child, State s)
Define_Set_Transition__transitionsOf in class ASTNode<ASTNode>spec/Exercises.jrag at line 30public StateMachine Define_StateMachine_theMachine(ASTNode caller, ASTNode child)
Define_StateMachine_theMachine in class ASTNode<ASTNode>spec/Exercises.jrag at line 73public State Define_State_lookup(ASTNode caller, ASTNode child, java.lang.String label)
Define_State_lookup in class ASTNode<ASTNode>spec/NameAnalysis.jrag at line 10public java.util.Set StateMachine_numberOfTransitionsColl_contributors()
public java.util.Set StateMachine_errors_contributors()
public boolean collecting_contributors_State_altReachable
protected boolean numberOfTransitions_visited
protected boolean StateMachine_numberOfTransitionsColl_visited
protected boolean StateMachine_numberOfTransitionsColl_computed
protected boolean StateMachine_errors_visited
protected boolean StateMachine_errors_computed
protected java.util.Set<java.lang.String> StateMachine_errors_value
|
|||||||
| FRAMES NO FRAMES | |||||||