PhpParser\ParserAbstract::checkModifier PHP Метод

checkModifier() защищенный Метод

protected checkModifier ( $a, $b, $modifierPos )
    protected function checkModifier($a, $b, $modifierPos) {
        // Jumping through some hoops here because verifyModifier() is also used elsewhere
        try {
            Class_::verifyModifier($a, $b);
        } catch (Error $error) {
            $error->setAttributes($this->getAttributesAt($modifierPos));
            $this->emitError($error);
        }
    }