logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MooseX::Declare::Syntax::Keyword::Namespace - Declare outer namespace

Author

       Florian Ragwitz <rafl@debian.org>

Consumes

       •   MooseX::Declare::Syntax::KeywordHandling

Description

       The "namespace" keyword allows you to declare an outer namespace under which other namespaced constructs
       can be nested. The "SYNOPSIS" is effectively the same as

         use MooseX::Declare;

         class Foo::Bar::Baz extends Foo::Bar::Qux with Foo::Bar::Fnording {
             ...
         }

Methods

parse
         Object->parse(Object $context)

       Will skip the declarator, parse the namespace and push the namespace in the file package stack.

Name

       MooseX::Declare::Syntax::Keyword::Namespace - Declare outer namespace

See Also

       •   MooseX::Declare

Synopsis

         use MooseX::Declare;

         namespace Foo::Bar;

         class ::Baz extends ::Qux with ::Fnording {
             ...
         }

Version

       version 0.43

See Also