public void Visit(SemanticStateMachine semanticStateMachine) { stringBuilder.AppendLine("Actions: " + semanticStateMachine.ActionClass); stringBuilder.AppendLine("FSM: " + semanticStateMachine.FsmName); stringBuilder.AppendLine("Initial: " + semanticStateMachine.InitialState.Name); semanticStateMachine.States.Accept(this); }
public SemanticStateMachine Analize(FsmSyntax fsm) { ast = new SemanticStateMachine(); AnalizeHeaders(fsm); CheckForErrorsAndWarnings(fsm); ProduceSemanticMachine(fsm); return(ast); }