rewrite macro parser, improving speed and making parameter parsing more sane
This commit is contained in:
parent
e2942b450e
commit
f0e6a30d75
9 changed files with 293 additions and 65 deletions
14
t/lib/WebGUI/Macro/VisualMacro.pm
Normal file
14
t/lib/WebGUI/Macro/VisualMacro.pm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package WebGUI::Macro::VisualMacro;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
sub process {
|
||||
my $session = shift;
|
||||
my @params = @_;
|
||||
$_ = "`$_`" for @params;
|
||||
return "\@MacroCall[" . join('.', @params) . "]:";
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue