| 1 | package CXC::Gnuplot::V0::CoordPosition2D; | ||||||||||||||
| 2 | |||||||||||||||
| 3 | 2 | ▶ | use v5.38; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 4 | 2 | ▶ | use experimental 'declared_refs'; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 5 | 2 | ▶ | use Feature::Compat::Class; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 6 | |||||||||||||||
| 7 | 2 | our $VERSION = 'v0.29.3'; | |||||||||||||
| 8 | |||||||||||||||
| 9 | class CXC::Gnuplot::V0::CoordPosition2D; | ||||||||||||||
| 10 | |||||||||||||||
| 11 | 2 | ▶ | use CXC::Gnuplot::V0::Types -lexical => 'CoordValue'; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 12 | |||||||||||||||
| 13 | use CXC::Gnuplot::V0::Util | ||||||||||||||
| 14 | 2 | -lexical => 'pvalidate', | |||||||||||||
| 15 | 2 | ▶ | 'to_hash_r'; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 16 | |||||||||||||||
| 17 | #<<< no tidy | ||||||||||||||
| 18 | 2 | field $x :param :reader; | |||||||||||||
| 19 | 2 | field $y :param :reader; | |||||||||||||
| 20 | #>>> | ||||||||||||||
| 21 | |||||||||||||||
| 22 | |||||||||||||||
| 23 | |||||||||||||||
| 24 | |||||||||||||||
| 25 | |||||||||||||||
| 26 | |||||||||||||||
| 27 | |||||||||||||||
| 28 | |||||||||||||||
| 29 | |||||||||||||||
| 30 | |||||||||||||||
| 31 | |||||||||||||||
| 32 | |||||||||||||||
| 33 | |||||||||||||||
| 34 | |||||||||||||||
| 35 | ADJUST { | ||||||||||||||
| 36 | 8 | ▶ | pvalidate( x => CoordValue, \$x ); | ||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||||||
| 37 | 8 | pvalidate( y => CoordValue, \$y ); | |||||||||||||
| 38 | } | ||||||||||||||
| 39 | |||||||||||||||
| 40 | |||||||||||||||
| 41 | |||||||||||||||
| 42 | |||||||||||||||
| 43 | |||||||||||||||
| 44 | ▶ | method to_hash ( %args ) { | |||||||||||||
|
Subroutine
to_hash: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||||||
| 45 | 0 | ▶ | to_hash_r( { | ||||||||||||
|
Branch: 2 branches
| |||||||||||||||
| 46 | ( defined $x ? ( x => $x ) : () ), # | ||||||||||||||
| 47 | ( defined $y ? ( y => $y ) : () ), | ||||||||||||||
| 48 | } ); | ||||||||||||||
| 49 | } | ||||||||||||||
| 50 | |||||||||||||||
| 51 | |||||||||||||||
| 52 | |||||||||||||||
| 53 | |||||||||||||||
| 54 | |||||||||||||||
| 55 | ▶ | method clone ( %args ) { | |||||||||||||
|
Subroutine
clone: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||
| 56 | 0 | return clone_object( $self, \%args ); | |||||||||||||
| 57 | } | ||||||||||||||
| 58 | |||||||||||||||
| 59 | |||||||||||||||
| 60 | |||||||||||||||
| 61 | |||||||||||||||
| 62 | |||||||||||||||
| 63 | method opts { | ||||||||||||||
| 64 | 0 | ▶ | return join( q{,}, $x, $y ); | ||||||||||||
|
Subroutine
opts: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||
| 65 | } | ||||||||||||||
| 66 | |||||||||||||||
| 67 | 2 | 1; | |||||||||||||
| 68 | |||||||||||||||
| 69 | # | ||||||||||||||
| 70 | # This file is part of CXC-Gnuplot | ||||||||||||||
| 71 | # | ||||||||||||||
| 72 | # This software is Copyright (c) 2024 by Smithsonian Astrophysical Observatory. | ||||||||||||||
| 73 | # | ||||||||||||||
| 74 | # This is free software, licensed under: | ||||||||||||||
| 75 | # | ||||||||||||||
| 76 | # The GNU General Public License, Version 3, June 2007 | ||||||||||||||
| 77 | # | ||||||||||||||
| 78 | |||||||||||||||
| 79 | __END__ | ||||||||||||||