line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
41
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
88
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package MarpaX::Languages::ECMAScript::AST::Exceptions; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: ECMAScript, Exceptions definition |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.018'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
use Exception::Class ( |
11
|
1
|
|
|
|
|
141
|
'MarpaX::Languages::ECMAScript::AST::Exception::InternalError' => |
12
|
|
|
|
|
|
|
{ description => 'Internal error', |
13
|
|
|
|
|
|
|
alias => 'InternalError',}, |
14
|
|
|
|
|
|
|
'MarpaX::Languages::ECMAScript::AST::Exception::SyntaxError' => |
15
|
|
|
|
|
|
|
{ description => 'Syntax error', |
16
|
|
|
|
|
|
|
alias => 'SyntaxError'}, |
17
|
|
|
|
|
|
|
, |
18
|
1
|
|
|
1
|
|
891
|
); |
|
1
|
|
|
|
|
187192
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
528
|
use Exporter 'import'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
112
|
|
21
|
|
|
|
|
|
|
our @EXPORT_OK = qw/InternalError SyntaxError/; |
22
|
|
|
|
|
|
|
our %EXPORT_TAGS = ('all' => [ @EXPORT_OK ]); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |