Ejemplo n.º 1
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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 4
0
 //
 // responds to EOL event
 //
 public override void EOL(StripFSM name)
 {
     name.PutChar();
 }
Ejemplo n.º 5
0
 //
 // responds to Other event
 //
 public override void Other(StripFSM name)
 {
     name.PutChar();
 }
Ejemplo n.º 6
0
 //
 // responds to Star event
 //
 public override void Star(StripFSM name)
 {
     name.PutChar();
 }
Ejemplo n.º 7
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();
        }