Example #1
0
        //
        // responds to Slash event
        //
        public override void Slash(StripFSM name)
        {
            // change the state
            name.SetState(name.GetItsStartingSlashState());

            // Exit functions for: outside
            name.OutsideOut();
            // Entry functions for: startingSlash
            name.StartingSlashIn();
        }
Example #2
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();
        }
Example #3
0
        //
        // responds to Slash event
        //
        public override void Slash(StripFSM name)
        {
            // change the state
            name.SetState(name.GetItsStartingSlashState());

            // Exit functions for: outside
            name.OutsideOut();
            // Entry functions for: startingSlash
            name.StartingSlashIn();
        }
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();
        }
Example #5
0
        //
        // responds to Slash event
        //
        public override void Slash(StripFSM name)
        {
            // change the state
            name.SetState(name.GetItsSecondSlashState());

            // Exit functions for: startingSlash
            name.StartingSlashOut();
            // Entry functions for: inComment
            name.InCommentIn();
            // Entry functions for: secondSlash
            name.SecondSlashIn();
        }
Example #6
0
        //
        // responds to Other event
        //
        public override void Other(StripFSM name)
        {
            name.PutSlash();
            name.PutChar();

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

            // Exit functions for: startingSlash
            name.StartingSlashOut();
            // Entry functions for: outside
            name.OutsideIn();
        }
Example #7
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 #8
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 #9
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 #10
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();
        }
Example #11
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();
        }
Example #12
0
        //
        // responds to Other event
        //
        public override void Other(StripFSM name)
        {
            name.PutSlash();
            name.PutChar();

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

            // Exit functions for: startingSlash
            name.StartingSlashOut();
            // Entry functions for: outside
            name.OutsideIn();
        }