line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
38
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
76
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package MarpaX::Languages::ECMAScript::AST::Exceptions; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: ECMAScript, Exceptions definition |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.019'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
use Exception::Class ( |
11
|
1
|
|
|
|
|
9
|
'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
|
|
513
|
); |
|
1
|
|
|
|
|
6543
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
410
|
use Exporter 'import'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
60
|
|
21
|
|
|
|
|
|
|
our @EXPORT_OK = qw/InternalError SyntaxError/; |
22
|
|
|
|
|
|
|
our %EXPORT_TAGS = ('all' => [ @EXPORT_OK ]); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |