self::$ANNOTATION_TYPE = new AnnotationType(); self::$ARGUMENT = new AnnotationForArgument(); self::$PARAM_NAME = new ParamName(); self::$PARAM_VALUE = new ParamValue(); self::$PARAM_VALUE_IN_SINGLE_QUOTES = new EnclosedParamValue(); self::$PARAM_VALUE_IN_DOUBLE_QUOTES = new EnclosedParamValue(); self::$DOCBLOCK->init(); self::$ANNOTATION->init(); self::$ANNOTATION_NAME->init(); self::$ANNOTATION_TYPE->init(); self::$ARGUMENT->init(); self::$PARAM_NAME->init(); self::$PARAM_VALUE->init(); self::$PARAM_VALUE_IN_SINGLE_QUOTES->init("'"); self::$PARAM_VALUE_IN_DOUBLE_QUOTES->init('"'); } /** * evaluates a token and the detected signal into the annotation * * @param Token $token parsed token to be processed * @param string $signal signal encountered by parser * @param CurrentAnnotation $annotation currently parsed annotation * @return bool */ public function evaluate(Token $token, string $signal, CurrentAnnotation $annotation) : bool { return true; } } Expression::__static();