1 | <?php |
||
18 | final class Comment |
||
19 | { |
||
20 | /** |
||
21 | * @param Tokenizer $tokenizer |
||
22 | * @param string $string |
||
23 | */ |
||
24 | public static function isComment(Tokenizer $tokenizer, $string) |
||
30 | |||
31 | /** |
||
32 | * @param string $string |
||
33 | * |
||
34 | * @return bool |
||
35 | */ |
||
36 | protected static function isCommentString($string) |
||
40 | |||
41 | /** |
||
42 | * @param string $string |
||
43 | * |
||
44 | * @return bool |
||
45 | */ |
||
46 | protected static function isTwoCharacterComment($string) |
||
50 | |||
51 | /** |
||
52 | * @param string $string |
||
53 | * |
||
54 | * @return bool |
||
55 | */ |
||
56 | protected static function startsWithDoubleDash($string) |
||
60 | |||
61 | /** |
||
62 | * @param string $string |
||
63 | * |
||
64 | * @return bool |
||
65 | */ |
||
66 | protected static function startsAsBlock($string) |
||
70 | |||
71 | /** |
||
72 | * @param string $string |
||
73 | * |
||
74 | * @return array |
||
75 | */ |
||
76 | protected static function getCommentString($string) |
||
93 | } |
||
94 |