xref: /aosp_15_r20/external/antlr/runtime/Perl5/lib/ANTLR/Runtime.pm (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1*16467b97STreehugger Robotpackage ANTLR::Runtime;
2*16467b97STreehugger Robot
3*16467b97STreehugger Robotuse strict;
4*16467b97STreehugger Robotuse warnings;
5*16467b97STreehugger Robot
6*16467b97STreehugger Robotuse version; our $VERSION = qv('0.0.1');
7*16467b97STreehugger Robot
8*16467b97STreehugger Robot1;
9*16467b97STreehugger Robot
10*16467b97STreehugger Robot__END__
11*16467b97STreehugger Robot
12*16467b97STreehugger Robot=head1 NAME
13*16467b97STreehugger Robot
14*16467b97STreehugger RobotANTLR::Runtime - ANTLR Runtime for Perl 5
15*16467b97STreehugger Robot
16*16467b97STreehugger Robot
17*16467b97STreehugger Robot=head1 VERSION
18*16467b97STreehugger Robot
19*16467b97STreehugger RobotThis documentation refers to ANTLR::Runtime version 0.0.1
20*16467b97STreehugger Robot
21*16467b97STreehugger Robot
22*16467b97STreehugger Robot=head1 SYNOPSIS
23*16467b97STreehugger Robot
24*16467b97STreehugger Robot    use <Module::Name>;
25*16467b97STreehugger Robot    # Brief but working code example(s) here showing the most common usage(s)
26*16467b97STreehugger Robot
27*16467b97STreehugger Robot    # This section will be as far as many users bother reading
28*16467b97STreehugger Robot    # so make it as educational and exemplary as possible.
29*16467b97STreehugger Robot
30*16467b97STreehugger Robot
31*16467b97STreehugger Robot=head1 DESCRIPTION
32*16467b97STreehugger Robot
33*16467b97STreehugger RobotA full description of the module and its features.
34*16467b97STreehugger RobotMay include numerous subsections (i.e. =head2, =head3, etc.)
35*16467b97STreehugger Robot
36*16467b97STreehugger Robot
37*16467b97STreehugger Robot=head1 SUBROUTINES/METHODS
38*16467b97STreehugger Robot
39*16467b97STreehugger RobotA separate section listing the public components of the module's interface.
40*16467b97STreehugger RobotThese normally consist of either subroutines that may be exported, or methods
41*16467b97STreehugger Robotthat may be called on objects belonging to the classes that the module provides.
42*16467b97STreehugger RobotName the section accordingly.
43*16467b97STreehugger Robot
44*16467b97STreehugger RobotIn an object-oriented module, this section should begin with a sentence of the
45*16467b97STreehugger Robotform "An object of this class represents...", to give the reader a high-level
46*16467b97STreehugger Robotcontext to help them understand the methods that are subsequently described.
47*16467b97STreehugger Robot
48*16467b97STreehugger Robot
49*16467b97STreehugger Robot=head1 DIAGNOSTICS
50*16467b97STreehugger Robot
51*16467b97STreehugger RobotA list of every error and warning message that the module can generate
52*16467b97STreehugger Robot(even the ones that will "never happen"), with a full explanation of each
53*16467b97STreehugger Robotproblem, one or more likely causes, and any suggested remedies.
54*16467b97STreehugger Robot(See also "Documenting Errors" in Chapter 13.)
55*16467b97STreehugger Robot
56*16467b97STreehugger Robot
57*16467b97STreehugger Robot=head1 CONFIGURATION AND ENVIRONMENT
58*16467b97STreehugger Robot
59*16467b97STreehugger RobotA full explanation of any configuration system(s) used by the module,
60*16467b97STreehugger Robotincluding the names and locations of any configuration files, and the
61*16467b97STreehugger Robotmeaning of any environment variables or properties that can be set. These
62*16467b97STreehugger Robotdescriptions must also include details of any configuration language used.
63*16467b97STreehugger Robot(See also "Configuration Files" in Chapter 19.)
64*16467b97STreehugger Robot
65*16467b97STreehugger Robot
66*16467b97STreehugger Robot=head1 DEPENDENCIES
67*16467b97STreehugger Robot
68*16467b97STreehugger RobotA list of all the other modules that this module relies upon, including any
69*16467b97STreehugger Robotrestrictions on versions, and an indication whether these required modules are
70*16467b97STreehugger Robotpart of the standard Perl distribution, part of the module's distribution,
71*16467b97STreehugger Robotor must be installed separately.
72*16467b97STreehugger Robot
73*16467b97STreehugger Robot
74*16467b97STreehugger Robot=head1 INCOMPATIBILITIES
75*16467b97STreehugger Robot
76*16467b97STreehugger RobotA list of any modules that this module cannot be used in conjunction with.
77*16467b97STreehugger RobotThis may be due to name conflicts in the interface, or competition for
78*16467b97STreehugger Robotsystem or program resources, or due to internal limitations of Perl
79*16467b97STreehugger Robot(for example, many modules that use source code filters are mutually
80*16467b97STreehugger Robotincompatible).
81*16467b97STreehugger Robot
82*16467b97STreehugger Robot
83*16467b97STreehugger Robot=head1 BUGS AND LIMITATIONS
84*16467b97STreehugger Robot
85*16467b97STreehugger RobotA list of known problems with the module, together with some indication
86*16467b97STreehugger Robotwhether they are likely to be fixed in an upcoming release.
87*16467b97STreehugger Robot
88*16467b97STreehugger RobotAlso a list of restrictions on the features the module does provide:
89*16467b97STreehugger Robotdata types that cannot be handled, performance issues and the circumstances
90*16467b97STreehugger Robotin which they may arise, practical limitations on the size of data sets,
91*16467b97STreehugger Robotspecial cases that are not (yet) handled, etc.
92*16467b97STreehugger Robot
93*16467b97STreehugger RobotThe initial template usually just has:
94*16467b97STreehugger Robot
95*16467b97STreehugger RobotThere are no known bugs in this module.
96*16467b97STreehugger RobotPlease report problems to <Maintainer name(s)>  (<contact address>)
97*16467b97STreehugger RobotPatches are welcome.
98*16467b97STreehugger Robot
99*16467b97STreehugger Robot=head1 AUTHOR
100*16467b97STreehugger Robot
101*16467b97STreehugger RobotRonald Blaschke ([email protected])
102*16467b97STreehugger Robot
103*16467b97STreehugger Robot
104*16467b97STreehugger Robot=head1 LICENCE AND COPYRIGHT
105*16467b97STreehugger Robot
106*16467b97STreehugger RobotCopyright (c) 2008 Ronald Blaschke ([email protected]).  All rights reserved.
107*16467b97STreehugger Robot
108*16467b97STreehugger RobotBased on ANTLR Java Runtime by Terence Parr.
109*16467b97STreehugger Robot
110*16467b97STreehugger RobotThis module is free software; you can redistribute it and/or
111*16467b97STreehugger Robotmodify it under the same terms as Perl (see L<perlartistic>)
112*16467b97STreehugger Robotor ANTLR (see L<http://www.antlr.org/license.html>) itself.
113*16467b97STreehugger Robot
114*16467b97STreehugger RobotThis program is distributed in the hope that it will be useful,
115*16467b97STreehugger Robotbut WITHOUT ANY WARRANTY; without even the implied warranty of
116*16467b97STreehugger RobotMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
117