| 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::SourceFileAttribute; | ||
| 5 | use MarpaX::Java::ClassFile::Struct::_Base | ||
| 6 | -tiny => [qw/_constant_pool attribute_name_index attribute_length sourcefile_index/], | ||
| 7 | '""' => [ | ||
| 8 | 1 | ▶ | [ sub { 'Source file#' . $_[0]->sourcefile_index } => sub { $_[0]->_constant_pool->[$_[0]->sourcefile_index] } ] |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 9 | 1 | ▶ | ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | # ABSTRACT: SourceFile_attribute | ||
| 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/U2 U4/; |
|
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 attribute_name_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 22 | 1 | has attribute_length => ( is => 'ro', required => 1, isa => U4 ); | |
| 23 | 1 | has sourcefile_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 24 | |||
| 25 | 1 | 1; | |
| 26 | |||
| 27 | __END__ | ||
| 28 | |||
| 29 | =pod | ||
| 30 | |||
| 31 | =encoding UTF-8 | ||
| 32 | |||
| 33 | =head1 NAME | ||
| 34 | |||
| 35 | MarpaX::Java::ClassFile::Struct::SourceFileAttribute - SourceFile_attribute | ||
| 36 | |||
| 37 | =head1 VERSION | ||
| 38 | |||
| 39 | version 0.008 | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Jean-Damien Durand <jeandamiendurand@free.fr> | ||
| 44 | |||
| 45 | =head1 COPYRIGHT AND LICENSE | ||
| 46 | |||
| 47 | This software is copyright (c) 2016 by Jean-Damien Durand. | ||
| 48 | |||
| 49 | This is free software; you can redistribute it and/or modify it under | ||
| 50 | the same terms as the Perl 5 programming language system itself. | ||
| 51 | |||
| 52 | =cut | ||