protected function inClassBodyState()
    {
        $char = $this->getCurrentChar();

        if ($char === self::CHAR_DOUBLEQUOTE) {
            $this->setState(self::IN_CLASSSTRING);
        } elseif ($char === self::CHAR_CLOSINGBRACE) {
            $this->setState(self::RUNNING);
        } elseif ($char === self::CHAR_STAR && $this->getPreviousChar() === self::CHAR_SLASH) {
            $this->setState(self::IN_CLASSCOMMENT);
        }

        $this->output($char);
    }
protected function inClassBodyState()
    {
        $char = $this->getCurrentChar();

        if ($char === self::CHAR_DOUBLEQUOTE) {
            $this->setState(self::IN_CLASSSTRING);
        } elseif ($char === self::CHAR_CLOSINGBRACE) {
            $this->setState(self::RUNNING);
        } elseif ($char === self::CHAR_STAR && $this->getPreviousChar() === self::CHAR_SLASH) {
            $this->setState(self::IN_CLASSCOMMENT);
        }

        $this->output($char);
    }
protected function inClassBodyState ( ) { $ char = $ this -> getCurrentChar ( ) ; if ( $ char === self :: CHAR_DOUBLEQUOTE ) { $ this -> setState ( self :: IN_CLASSSTRING ) ; } elseif ( $ char === self :: CHAR_CLOSINGBRACE ) { $ this -> setState ( self :: RUNNING ) ; } elseif ( $ char === self :: CHAR_STAR && $ this -> getPreviousChar ( ) === self :: CHAR_SLASH ) { $ this -> setState ( self :: IN_CLASSCOMMENT ) ; } $ this -> output ( $ char ) ; }
Instructions to be performed in 'classBody' state.
Instructions to be performed in classBody state .