protected function build()
 {
     $this->add(new Customweb_Annotation_Parser_ConstantMatcher('{}', array()));
     $values_matcher = new Customweb_Annotation_Parser_SimpleSerialMatcher(1);
     $values_matcher->add(new Customweb_Annotation_Parser_RegexMatcher('\\s*{\\s*'));
     $values_matcher->add(new Customweb_Annotation_Parser_AnnotationArrayValuesMatcher());
     $values_matcher->add(new Customweb_Annotation_Parser_RegexMatcher('\\s*}\\s*'));
     $this->add($values_matcher);
 }
 protected function build()
 {
     $this->add(new Customweb_Annotation_Parser_ConstantMatcher('', array()));
     $this->add(new Customweb_Annotation_Parser_ConstantMatcher('\\(\\)', array()));
     $params_matcher = new Customweb_Annotation_Parser_SimpleSerialMatcher(1);
     $params_matcher->add(new Customweb_Annotation_Parser_RegexMatcher('\\(\\s*'));
     $params_matcher->add(new Customweb_Annotation_Parser_AnnotationValuesMatcher());
     $params_matcher->add(new Customweb_Annotation_Parser_RegexMatcher('\\s*\\)'));
     $this->add($params_matcher);
 }
 protected function match($string, &$value)
 {
     $result = parent::match($string, $value);
     return $result;
 }