| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package MarpaX::Java::ClassFile::Struct::ConstantStringInfo; | ||
| 5 | use MarpaX::Java::ClassFile::Struct::_Base | ||
| 6 | -tiny => [qw/_constant_pool tag string_index/], | ||
| 7 | '""' => [ | ||
| 8 | 1 | ▶ | [ sub { 'String#' . $_[0]->string_index } => sub { $_[0]->_constant_pool->[$_[0]->string_index] } ] |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 9 | 1 | ▶ | ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | # ABSTRACT: CONSTANT_String_info | ||
| 12 | |||
| 13 | 1 | our $VERSION = '0.008'; # VERSION | |
| 14 | |||
| 15 | 1 | our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY | |
| 16 | |||
| 17 | 1 | ▶ | use MarpaX::Java::ClassFile::Struct::_Types qw/U1 U2/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use Types::Standard qw/ArrayRef/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 1 | has _constant_pool => ( is => 'rw', required => 1, isa => ArrayRef); | |
| 21 | 1 | has tag => ( is => 'ro', required => 1, isa => U1 ); | |
| 22 | 1 | has string_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 23 | |||
| 24 | 1 | 1; | |
| 25 | |||
| 26 | __END__ | ||
| 27 | |||
| 28 | =pod | ||
| 29 | |||
| 30 | =encoding UTF-8 | ||
| 31 | |||
| 32 | =head1 NAME | ||
| 33 | |||
| 34 | MarpaX::Java::ClassFile::Struct::ConstantStringInfo - CONSTANT_String_info | ||
| 35 | |||
| 36 | =head1 VERSION | ||
| 37 | |||
| 38 | version 0.008 | ||
| 39 | |||
| 40 | =head1 AUTHOR | ||
| 41 | |||
| 42 | Jean-Damien Durand <jeandamiendurand@free.fr> | ||
| 43 | |||
| 44 | =head1 COPYRIGHT AND LICENSE | ||
| 45 | |||
| 46 | This software is copyright (c) 2016 by Jean-Damien Durand. | ||
| 47 | |||
| 48 | This is free software; you can redistribute it and/or modify it under | ||
| 49 | the same terms as the Perl 5 programming language system itself. | ||
| 50 | |||
| 51 | =cut | ||