MarpaX::Database::Terminfo::String::Grammar::Actions - Terminfo grammar actions
version 0.010
This modules give the actions associated to terminfo grammar. The value will be an anonymous stub that will accept $self, a reference to static_vars array, and a reference to dynamic_vars array in input, and tparm() arguments. The output will be the parameterized string.
Instance a new object.
Generates code that appends escaped character $c to the output of generated code.
Generates code that appends character $c to the output of generated code.
Generates code that appends character '%' to the output of generated code.
Generates code that appends a print of pop() like %c in printf().
Generates code that appends a print of pop() using the $format string in the terminfo database.
Generates code that appends a push().
Generates code that appends a pop() into a dynamic variable.
Generates code that appends a push() of a dynamic variable.
Generates code that appends a pop() into a static variable.
Generates code that appends a push() of a static variable.
Generates code that appends a push() of strlen(pop()).
Generates code that appends a push() of char constant $const.
Generates code that appends a push() of integer constant $const.
Generates code that appends a push() of pop()+pop()
Generates code that appends a push() of second pop() - first pop()
Generates code that appends a push() of pop() * pop()
Generates code that appends a push() of second pop() / first pop()
Generates code that appends a push() of second pop() % first pop()
Generates code that appends a push() of pop() & pop()
Generates code that appends a push() of pop() | pop()
Generates code that appends a push() of pop() ^ pop()
Generates code that appends a push() of second pop() == first pop()
Generates code that appends a push() of second pop() > first pop()
Generates code that appends a push() of second pop() < first pop()
Generates code that appends a push() of pop() && pop()
Generates code that adds 1 to all parameters (in practice not more than two)
Generates code that adds generated if {} $elsifUnits else {}.
Generates code that adds generated if {} $elsifUnits.
Generates code that adds generated elsif {}.
Routine executed at EOF. It is also preventing undef to be pass through the parse tree value.
Routine executed to empty IF/ENDIF. It is also preventing undef to be pass through the parse tree value.
jddurand <jeandamiendurand@free.fr>
Jean-Damien Durand <jeandamiendurand@free.fr>
This software is copyright (c) 2013 by Jean-Damien Durand.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MarpaX::Database::Terminfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MarpaX::Database::Terminfo
CPAN shell
perl -MCPAN -e shell install MarpaX::Database::Terminfo
For more information on module installation, please visit the detailed CPAN module installation guide.