Embperl - building dynamic websites with Perl


Methods
[ << Prev: DESCRIPTION ] [ Content ] [ Next: Author >> ]

Embperl::Syntax::EmbperlBlocks defines the following methods:



Embperl::Syntax::EmbperlBlocks -> new / $self -> newtop

Create a new syntax class. This method should only be called inside a constructor of a derived class.



AddMetaCmd ($cmdname, $procinfo)top

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)top

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)top

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.


[ << Prev: DESCRIPTION ] [ Content ] [ Next: Author >> ]


© 1997-2023 Gerald Richter / actevy