If any of the :attr:`tags` matched this method is called with the parser as first argument. The token the parser stream is pointing at is the name token that matched. This method has to return one or a list of multiple nodes.
(self, parser)
| 94 | return stream |
| 95 | |
| 96 | def parse(self, parser): |
| 97 | """If any of the :attr:`tags` matched this method is called with the |
| 98 | parser as first argument. The token the parser stream is pointing at |
| 99 | is the name token that matched. This method has to return one or a |
| 100 | list of multiple nodes. |
| 101 | """ |
| 102 | raise NotImplementedError() |
| 103 | |
| 104 | def attr(self, name, lineno=None): |
| 105 | """Return an attribute node for the current extension. This is useful |
no outgoing calls
no test coverage detected