Пример #1
0
        //
        // 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();
        }
Пример #2
0
        //
        // responds to Star event
        //
        public override void Star(StripFSM name)
        {
            // change the state
            name.SetState(name.GetItsStarAfterSlashState());

            // Exit functions for: startingSlash
            name.StartingSlashOut();
            // Entry functions for: inComment
            name.InCommentIn();
            // Entry functions for: starAfterSlash
            name.StarAfterSlashIn();
        }
Пример #3
0
        //
        // 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();
        }
Пример #4
0
        //
        // responds to Star event
        //
        public override void Star(StripFSM name)
        {
            // change the state
            name.SetState(name.GetItsStarAfterSlashState());

            // Exit functions for: startingSlash
            name.StartingSlashOut();
            // Entry functions for: inComment
            name.InCommentIn();
            // Entry functions for: starAfterSlash
            name.StarAfterSlashIn();
        }