| 379 | |
| 380 | |
| 381 | class Group(TokenList): |
| 382 | |
| 383 | token_type = "group" |
| 384 | |
| 385 | @property |
| 386 | def mailboxes(self): |
| 387 | if self[2].token_type != 'group-list': |
| 388 | return [] |
| 389 | return self[2].mailboxes |
| 390 | |
| 391 | @property |
| 392 | def all_mailboxes(self): |
| 393 | if self[2].token_type != 'group-list': |
| 394 | return [] |
| 395 | return self[2].all_mailboxes |
| 396 | |
| 397 | @property |
| 398 | def display_name(self): |
| 399 | return self[0].display_name |
| 400 | |
| 401 | |
| 402 | class NameAddr(TokenList): |
no outgoing calls
no test coverage detected
searching dependent graphs…