PerlPoint::Constants - public PerlPoint module constants
This manual describes version 0.19.
The module declares a number of constants shared between other PerlPoint::... modules.
The usage of the provided constants is described in the manuals of the using modules PerlPoint::Parser and PerlPoint::Backend.
These constants are built into directives which the parser produces in its output (that is, the representation format it translates an ASCII text in to be subsequently processed by a backend).
flags a block paragraph;
flags a comment;
a format entity is completed;
flags a complete document (made from one ASCII file);
flags a "definition list";
flags a "definition point" paragraph;
flags a "definition point" item (the stuff to be defined);
flags a "definition point" text (the definition part);
flags the switch into another document stream;
flags a headline;
control directive, shift a list left;
control directive, shift a list right;
a backend hint to inform about a new source line;
flags an "ordered list";
flags an "ordered point" paragraph;
a pseudo directive, used to flag simple strings in backends;
a format entity starts;
flags a tag;
flags a text paragraph;
flags an "unordered list";
flags an "unordered point" paragraph;
a backend hint flagging that all variables are deleted;
a backend hint propagating a variable setting;
flags a verbatim block paragraph;
control how the parser continues processing, usually used by tag hooks.
We read all we need. Stop parsing successfully.
Ignore the tag and all its contents (which means its body).
A semantic error occurred. Parsing will usually be continued to possibly detect even more errors.
A syntactic error occured. Parsing will be stopped immediately.
Ignore the tag as if it was not written.
Input ok, parsing can be continued.
flagging mode of tag components.
the item can be used but is not required.
the item is an essential tag part.
the item must not be used.
index constants to access parts of the intermediate data structure produced by the parser and processed by backends. Intended to be used by PerlPoint::Parser and PerlPoint::Backend.
PerlPoint::Parser
PerlPoint::Backend
stream data identifier - a string identifying the data structure as a PerlPoint stream.
a list of all detected document stream identifiers.
token stream.
headline stream.
index constants to access parts of a stream directive.
a hash filled by the parser to control backend behaviour.
directive type constant (DIRECTIVE_HEADLINE, DIRECTIVE_TAG etc.)
DIRECTIVE_HEADLINE
DIRECTIVE_TAG
start/completion flag (DIRECTIVE_START, DIRECTIVE_COMPLETE).
DIRECTIVE_START
DIRECTIVE_COMPLETE
beginning of the data part, depends on directive type.
declare how document streams should be handled by the parser.
Document stream entry points are streamed directly - so the backend can handle them.
Document streams (except of the main stream) are completely ignored.
Document stream entry points are streamed as headlines.
They activate trace code.
activates the traces of active contents evaluation.
activates backend traces;
activates the traces of the lexical analysis.
deactivates all trace codes. (In fact, it does not activate any trace. If you decide to combine it with other trace constants, it will cause nothing.)
activates traces which show the paragraphs recognized when they are entered or completed.
activates the traces of the syntactical analysis.
activates the traces of the semantic analysis.
deactivates the removal of temporary files.
determine if information messages should be suppressed.
all messages are displayed. (More correctly, no message is suppressed. If you combine this constant with other display constants, it will take no effect.)
suppresses information messages;
suppresses warnings;
specify how presentation files shall be cached.
Files are reparsed completely regardless of cache data. Existing cache data remain untouched.
While reading the presentation descriptions, cached and unchanged paragraphs are reloaded from the cache if possible. New or modified paragraphs are stored to accelerate repeated reading.
Please note that this will not overwrite or remove previously stored cache data for modified or deleted paragraphs. Old cache data remains in the cache, while new data is added - the cache size continously grows.
Cleans up an existing cache before the parser starts (and possibly rebuilds it).
flag which way a template engine should perform an action.
Produce files which are needed once (per document).
Processes the index page.
Produce a page.
Produce additional files belonging to a page.
Processes the table of contents page.
used for various purposes.
a pseudo token added for reasons of parsing, which the backend can delete from the stream.
A parser for Perl Point ASCII texts.
A frame class to write Perl Point backends.
A PerlPoint mailing list is set up to discuss usage, ideas, bugs, suggestions and translator development. To subscribe, please send an empty message to perlpoint-subscribe@perl.org.
If you prefer, you can contact me via perl@jochen-stenzel.de as well.
Copyright (c) Jochen Stenzel (perl@jochen-stenzel.de), 1999-2004. All rights reserved.
This module is free software, you can redistribute it and/or modify it under the terms of the Artistic License distributed with Perl version 5.003 or (at your option) any later version. Please refer to the Artistic License that came with your Perl distribution for more details.
The Artistic License should have been included in your distribution of Perl. It resides in the file named "Artistic" at the top-level of the Perl source tree (where Perl was downloaded/unpacked - ask your system administrator if you dont know where this is). Alternatively, the current version of the Artistic License distributed with Perl can be viewed on-line on the World-Wide Web (WWW) from the following URL: http://www.perl.com/perl/misc/Artistic.html
This software is distributed in the hope that it will be useful, but is provided "AS IS" WITHOUT WARRANTY OF ANY KIND, either expressed or implied, INCLUDING, without limitation, the implied warranties of MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE.
The ENTIRE RISK as to the quality and performance of the software IS WITH YOU (the holder of the software). Should the software prove defective, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MAY CREATE, MODIFY, OR DISTRIBUTE THE SOFTWARE BE LIABLE OR RESPONSIBLE TO YOU OR TO ANY OTHER ENTITY FOR ANY KIND OF DAMAGES (no matter how awful - not even if they arise from known or unknown flaws in the software).
Please refer to the Artistic License that came with your Perl distribution for more details.
To install PerlPoint::Generator::LANGUAGE::Formatter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPoint::Generator::LANGUAGE::Formatter
CPAN shell
perl -MCPAN -e shell install PerlPoint::Generator::LANGUAGE::Formatter
For more information on module installation, please visit the detailed CPAN module installation guide.