-
-
16 Apr 2014 18:33:32 UTC
- Distribution: Embperl
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (66 / 28 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (768.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Gerald Richter <richter at embperl dot org>
- Dependencies
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Embperl::Syntax::EmbperlBlocks - syntax for Embperl Blocks and metacommands
SYNOPSIS
DESCRIPTION
Class derived from Embperl::Syntax to define the syntax for Embperl Blocks and metacommands.
Methods
Embperl::Syntax::EmbperlBlocks defines the following methods:
Embperl::Syntax::EmbperlBlocks -> new / $self -> new
Create a new syntax class. This method should only be called inside a constructor of a derived class.
AddMetaCmd ($cmdname, $procinfo)
Add a new metacommand with name
$cmdname
and use processor info from$procinfo
. See Embperl::Syntax for a definition of procinfo.AddMetaCmdWithEnd ($cmdname, $endname, $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.AddMetaCmdBlock ($cmdname, $endname, $procinfostart, $procinfoend)
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.Author
G. Richter (richter at embperl dot org)
See Also
Embperl::Syntax
Module Install Instructions
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm Embperl
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.