| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 2 |
| 1 | <?php |
||
| 15 | class AnnotateTokenParser extends \Twig_TokenParser |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Parses a token and returns a node. |
||
| 19 | * |
||
| 20 | * @param Twig_Token $token A Twig_Token instance |
||
| 21 | * |
||
| 22 | * @return AnnotateNode A Twig_NodeInterface instance |
||
| 23 | */ |
||
| 24 | public function parse(Twig_Token $token) |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Gets the tag name associated with this token parser. |
||
| 49 | * |
||
| 50 | * @return string The tag name |
||
| 51 | */ |
||
| 52 | public function getTag() |
||
| 57 |