| 1 | package JSON::Schema::Generator::Handler::Atom; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 4 | ▶ | sub process { | ||||||||
|
Subroutine
process: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||
| 7 | 4 | my ($class, $atom_type, $examples, $dispatch) = @_; | |||||||||
| 8 | return +{ | ||||||||||
| 9 | 4 | ▶ | type => $atom_type->name, | ||||||||
|
Branch: 1 branch
| |||||||||||
| 10 | ($atom_type->isa('JSON::TypeInference::Type::Unknown') ? () : (example => $examples->[0])), | ||||||||||
| 11 | }; | ||||||||||
| 12 | } | ||||||||||
| 13 | |||||||||||
| 14 | 2 | 1; | |||||||||