| 1 | package Zuzu::Error::Compile; | ||
| 2 | |||
| 3 | 18 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 18 | our $VERSION = '0.007002'; | |
| 6 | |||
| 7 | 18 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 18 | extends 'Zuzu::Error'; | |
| 10 | |||
| 11 | 84 | ▶ | sub kind { 'CompileError' } |
|
Subroutine
kind: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | |||
| 13 | =pod | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Zuzu::Error::Compile - compile-time error for parsing/analysis failures | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | Represents failures detected before execution. | ||
| 22 | |||
| 23 | Typical examples include syntax errors, use of undeclared identifiers | ||
| 24 | detected by the parser, and invalid declarations such as using C<=> | ||
| 25 | instead of C<:=>. | ||
| 26 | |||
| 27 | =head1 INHERITANCE | ||
| 28 | |||
| 29 | Inherits from L<Zuzu::Error>. | ||
| 30 | |||
| 31 | =head1 METHODS | ||
| 32 | |||
| 33 | =head2 kind | ||
| 34 | |||
| 35 | Returns C<CompileError>. | ||
| 36 | |||
| 37 | =head1 COPYRIGHT AND LICENCE | ||
| 38 | |||
| 39 | B<< Zuzu::Error::Compile >> is copyright Toby Inkster. | ||
| 40 | |||
| 41 | It is free software; you may redistribute it and/or modify it under | ||
| 42 | the terms of either the Artistic License 1.0 or the GNU General Public | ||
| 43 | License version 2. | ||
| 44 | |||
| 45 | =cut | ||
| 46 | |||
| 47 | 18 | 1; | |