Lines Matching refs:text
4782 $text = $comment->getText();
4786 if (preg_match($pattern, $text, $matches) !== 1) {
4794 $exposedDocComment = preg_replace($pattern, '$1$3', $text);
4802 $text = trim($comment->getText());
4803 if (preg_match('/^#\s*if\s+(.+)$/', $text, $matches)) {
4805 } else if (preg_match('/^#\s*ifdef\s+(.+)$/', $text, $matches)) {
4807 } else if (preg_match('/^#\s*ifndef\s+(.+)$/', $text, $matches)) {
4809 } else if (preg_match('/^#\s*else$/', $text)) {
4815 } else if (preg_match('/^#\s*endif$/', $text)) {
4820 } else if ($text[0] === '#') {
4821 throw new Exception("Unrecognized preprocessor directive \"$text\"");