Embperl::Syntax::MsgIdExtract
define syntax for i18n using Embperl blocks
- Provided by: libembperl-perl (Version: 2.5.0-6)
- Report a bug
define syntax for i18n using Embperl blocks
Class derived from Embperl::Syntax to define the syntax for the internationalisation using "[= =]" Embperl blocks and metacommands.
See Embperl, section I18N for details.
Embperl::Syntax::MsgIdExtract defines the following methods:
Create a new syntax class. This method should only be called inside a constructor of a derived class.
Add a new metacommand with name $cmdname and use processor info from $procinfo. See Embperl::Syntax for a definition of procinfo.
Add a new metacommand with name $cmdname and use processor info from $procinfo. Addtionaly specify that a matching $endname metacommand must be found to end the block, that is started by this metacommand. See Embperl::Syntax for a definition of procinfo.
Add a new metacommand with name $cmdname and and a second metacommand $endname which ends the block that is started by $cmdname. Use processor info from $procinfo. See Embperl::Syntax for a definition of procinfo.
G. Richter (richter at embperl dot org)
Embperl::Syntax