| 1 | package OpenTracing::Reference; | ||
| 2 | |||
| 3 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 10 | our $VERSION = '1.006'; # VERSION | |
| 7 | 10 | our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY | |
| 8 | |||
| 9 | 10 | ▶ | use parent qw(OpenTracing::Common); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 10 | ▶ | no indirect; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 10 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 10 | ▶ | use constant { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 10 | CHILD_OF => 0, | |
| 16 | FOLLOWS_FROM => 1, | ||
| 17 | 10 | }; | |
| 18 | |||
| 19 | =encoding utf8 | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | OpenTracing::Reference - represents a span Reference | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | =head2 ref_type | ||
| 30 | |||
| 31 | The type of reference | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | 0 | ▶ | sub ref_type { shift->{ref_type} } |
|
Subroutine
ref_type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | =head2 span | ||
| 38 | |||
| 39 | The context for this reference. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | 0 | ▶ | sub context { shift->{context} } |
|
Subroutine
context: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 44 | |||
| 45 | 10 | 1; | |
| 46 | |||
| 47 | __END__ | ||