Embperl::Syntax::EmbperlBlocks(3pm)

Embperl::Syntax::EmbperlBlocks3pm

Syntax for embperl blocks and metacommands

Overview

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.

Releases

9 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12

Author

G. Richter (richter at embperl dot org)

From libembperl-perl 2.5.0-17 in Debian 12 (Bookworm). Parsed by carta from the page's man source.