src/Peach/DF/JsonCodec/Number.php
private function handleFirstDigit(Context $context)
    {
        if (self::checkDigit($context)) {
            $this->result .= $context->current();
            $context->next();
        } else {
            throw $context->createException("Invalid number format");
        }
    }
private function handleFirstDigit(Context $context)
    {
        if (self::checkDigit($context)) {
            $this->result .= $context->current();
            $context->next();
        } else {
            throw $context->createException("Invalid number format");
        }
    }
private function handleFirstDigit ( Context $ context ) { if ( self :: checkDigit ( $ context ) ) { $ this -> result .= $ context -> current ( ) ; $ context -> next ( ) ; } else { throw $ context -> createException ( "Invalid number format" ) ; } }
1 文字目の数字を読み込みます.

@param Context $context
1 文字目の数字を読み込みます .