perl-Devel-Declare-Lexer-0.014-alt2.noarch.rpm


Advertisement

Description

perl-Devel-Declare-Lexer - Easier than Devel::Declare

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Devel-Declare-Lexer
Package version 0.014
Package release alt2
Package architecture noarch
Package type rpm
Installed size 42.56 KB
Download size 42.56 KB
Official Mirror ftp.altlinux.org
the Devel::Declare::Lexer manpage makes it easier to parse code using the Devel::Declare manpage
by generating a token stream from the statement and providing a callback for
you to manipulate it before its parsed by Perl.
The example in the synopsis creates a keyword named 'keyword', which accepts
a string and prints it.
Although this simple example could be done using print, say or any other simple
subroutine, the Devel::Declare::Lexer manpage supports much more flexible syntax.
For example, it could be used to auto-expand subroutine declarations, e.g.
method MethodName ( $a, @b ) {
...
}
into
sub MethodName ($@) {
my ($self, $a, @b) = @_;
...
}
Unlike the Devel::Declare manpage, there's no need to worry about parsing text and
taking care of multiline strings or code blocks - it's all done for you.

Alternatives

Package Version Architecture Repository
perl-Devel-Declare-Lexer - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Devel/Declare.pm) >= 0.006.011
perl(Tie/Array.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Devel/Declare/Lexer.pm) = 0.014
perl(Devel/Declare/Lexer/Factory.pm) -
perl(Devel/Declare/Lexer/Stream.pm) -
perl(Devel/Declare/Lexer/Token.pm) -
perl(Devel/Declare/Lexer/Token/Bareword.pm) -
perl(Devel/Declare/Lexer/Token/Declarator.pm) -
perl(Devel/Declare/Lexer/Token/EndOfStatement.pm) -
perl(Devel/Declare/Lexer/Token/Heredoc.pm) -
perl(Devel/Declare/Lexer/Token/LeftBracket.pm) -
perl(Devel/Declare/Lexer/Token/Newline.pm) -
perl(Devel/Declare/Lexer/Token/Operator.pm) -
perl(Devel/Declare/Lexer/Token/Raw.pm) -
perl(Devel/Declare/Lexer/Token/RightBracket.pm) -
perl(Devel/Declare/Lexer/Token/String.pm) -
perl(Devel/Declare/Lexer/Token/String/Interpolator.pm) -
perl(Devel/Declare/Lexer/Token/Variable.pm) -
perl(Devel/Declare/Lexer/Token/Whitespace.pm) -
perl(Devel/Declare/Lexer/Tokens.pm) -
perl-Devel-Declare-Lexer = 0.014-alt2

Download

Type URL
Binary Package perl-Devel-Declare-Lexer-0.014-alt2.noarch.rpm
Source Package perl-Devel-Declare-Lexer-0.014-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Devel-Declare-Lexer rpm package:
    # sudo apt-get install perl-Devel-Declare-Lexer

Files

Path
/usr/share/doc/perl-Devel-Declare-Lexer-0.014/README
/usr/share/doc/perl-Devel-Declare-Lexer-0.014/example/ExampleSyntax.pm
/usr/share/doc/perl-Devel-Declare-Lexer-0.014/example/example.pl
/usr/share/perl5/Devel/
/usr/share/perl5/Devel/Declare/Lexer.pm
/usr/share/perl5/Devel/Declare/Lexer/Factory.pm
/usr/share/perl5/Devel/Declare/Lexer/Stream.pm
/usr/share/perl5/Devel/Declare/Lexer/Token.pm
/usr/share/perl5/Devel/Declare/Lexer/Tokens.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Bareword.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Declarator.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/EndOfStatement.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Heredoc.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/LeftBracket.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Newline.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Operator.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Raw.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/RightBracket.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/String.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Variable.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/Whitespace.pm
/usr/share/perl5/Devel/Declare/Lexer/Token/String/Interpolator.pm

See Also

Package Description
perl-Devel-Declare-Parser-0.020-alt1_11.noarch.rpm Higher level interface to Devel-Declare
perl-Devel-Declare-Parser-Fennec-0.005-alt1.noarch.rpm The parser for Fennec syntax
perl-Devel-DefaultWarnings-0.001002-alt1.noarch.rpm Detect if warnings have been left at defaults
perl-Devel-Depend-Cl-0.06-alt1.noarch.rpm Extract dependency trees from c files
perl-Devel-Depend-Cpp-0.10-alt1.noarch.rpm Extract dependency trees from c files
perl-Devel-Dependencies-1.04-alt1.noarch.rpm Perl extension for examining dependencies on modules
perl-Devel-Deprecate-0.01-alt1.noarch.rpm Create deprecation schedules in your code
perl-Devel-Diagram-1.00-alt1.noarch.rpm perl module Devel-Diagram
perl-Devel-DidYouMean-0.05-alt1.noarch.rpm Intercepts failed function and method calls, suggesting the nearest matching alternative
perl-Devel-DieHandler-DumpINC-0.002-alt1.noarch.rpm Dump content of % INC when program dies
perl-Devel-DieHandler-PrintINCVersion-0.001-alt1.noarch.rpm Print versions of files (modules) listed in % INC
perl-Devel-DieHandler-Pwd-0.001-alt1.noarch.rpm Print working directory when program dies
perl-Devel-Ditto-0.06-alt1.noarch.rpm Identify where print output comes from
perl-Devel-DumpSizes-0.01-alt1.noarch.rpm perl module Devel-DumpSizes
perl-Devel-DumpTrace-0.27-alt1.noarch.rpm Evaluate and print out each line before it is executed
Advertisement
Advertisement