예제 #1
0
파일: StripFSM.cs 프로젝트: vlado-b/smcjava
        //
        // 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();
        }
예제 #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();
        }