blib/lib/Lingy/Emitter/YAML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 1 | 3 | 33.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 2 | 4 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Lingy::Emitter::YAML; | ||||||
2 | 1 | 1 | 1713 | use Pegex::Base; | |||
0 | |||||||
0 | |||||||
3 | extends 'Lingy::Emitter'; | ||||||
4 | |||||||
5 | use YAML::XS; | ||||||
6 | |||||||
7 | sub emit { | ||||||
8 | my ($self, $ast) = @_; | ||||||
9 | YAML::XS::Dump($ast); | ||||||
10 | } | ||||||
11 | |||||||
12 | 1; |