Example #1
0
        //
        // 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();
        }
Example #2
0
        //
        // responds to EOL event
        //
        public override void EOL(StripFSM name)
        {
            name.PutChar();

            // change the state
            name.SetState(name.GetItsOutsideState());

            // Exit functions for: secondSlash
            name.SecondSlashOut();
            // Exit functions for: inComment
            name.InCommentOut();
            // Entry functions for: outside
            name.OutsideIn();
        }
Example #3
0
        //
        // responds to EOL event
        //
        public override void EOL(StripFSM name)
        {
            name.PutChar();

            // change the state
            name.SetState(name.GetItsOutsideState());

            // Exit functions for: secondSlash
            name.SecondSlashOut();
            // Exit functions for: inComment
            name.InCommentOut();
            // Entry functions for: outside
            name.OutsideIn();
        }
Example #4
0
        //
        // 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();
        }