Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/EmbperlBlocks.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/EmbperlBlocks.pm



NAME

Embperl::Syntax::EmbperlBlocks


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@dev.ecos.de)


See Also

Embperl::Syntax

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy