---
name: "Embperl::Syntax::MsgIdExtract"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Syntax::MsgIdExtract"
---

# Embperl::Syntax::MsgIdExtract(3pm)

define syntax for i18n using Embperl blocks

## NAME

Embperl::Syntax::MsgIdExtract - define syntax for i18n using Embperl blocks

## SYNOPSIS

## DESCRIPTION

Class derived from Embperl::Syntax to define the syntax for the internationalisation using "\[= =\]" Embperl blocks and metacommands.

See Embperl, section I18N for details.

## Methods

*Embperl::Syntax::MsgIdExtract* defines the following methods:

### Embperl::Syntax::MsgIdExtract -\> 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
