// // responds to EOL event // public override void EOL(StripFSM name) { // change the state name.SetState(name.GetItsStarAfterSlashState()); // Exit functions for: startingStar name.StartingStarOut(); // Entry functions for: starAfterSlash name.StarAfterSlashIn(); }
// // responds to Slash event // public override void Slash(StripFSM name) { // change the state name.SetState(name.GetItsOutsideState()); // Exit functions for: startingStar name.StartingStarOut(); // Exit functions for: inComment name.InCommentOut(); // Entry functions for: outside name.OutsideIn(); }
// // responds to Other event // public override void Other(StripFSM name) { // change the state name.SetState(name.GetItsStarAfterSlashState()); // Exit functions for: startingStar name.StartingStarOut(); // Entry functions for: starAfterSlash name.StarAfterSlashIn(); }