| 1 | package Pegex::vCard; | ||
| 2 | 1 | our $VERSION = '0.05'; | |
| 3 | |||
| 4 | 1 | ▶ | use Pegex::Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use Pegex::Parser; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Pegex::vCard::Grammar; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use Pegex::vCard::Data; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | ▶ | sub parse { |
|
Subroutine
parse: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 11 | 1 | my ($self, $input) = @_; | |
| 12 | |||
| 13 | 1 | return Pegex::Parser->new( | |
| 14 | grammar => Pegex::vCard::Grammar->new, | ||
| 15 | receiver => Pegex::vCard::Data->new, | ||
| 16 | # debug => 1, | ||
| 17 | )->parse($input); | ||
| 18 | } | ||
| 19 | |||
| 20 | 1 | 1; | |