Stmts

CLASS

class Config::BINDish::AST::Stmts - a transparent container of statements

DESCRIPTION

This class has barely any other use but to serve as a temporary container for a set of other Config::BINDish::AST objects until they find their final parent. Instances of this class are transparent meaning that whenever such object is added to a node the operation will result in all children moved to the node and the AST::Stmts object being discarded.

An instance of AST::Stmts cannot have a parent. In fact, any attempt to use set-parent method will result in <Config::BINDish::X::StmtsAdopted being thrown.

METHODS

dismiss()

This methods cleans up @.children to prevent accidental manipulation with any child after they are moved to their final parent node.

SEE ALSO

COPYRIGHT

(c) 2023, Vadim Belman <[email protected]>

LICENSE

Artistic License 2.0

See the LICENSE file in this distribution.

Config::BINDish v0.0.18

Extensible BIND9-like Configuration Files Support

Authors

  • Vadim Belman

License

Artistic-2.0

Dependencies

AttrX::Mooish:auth<zef:vrurg>:ver<1.0.0+>:api<1.0.*>IP::AddrTest::Async:auth<zef:vrurg>:ver<0.1.2+>

Test Dependencies

Provides

  • Config::BINDish
  • Config::BINDish::AST
  • Config::BINDish::Actions
  • Config::BINDish::Expandable
  • Config::BINDish::Grammar
  • Config::BINDish::INET
  • Config::BINDish::Ops
  • Config::BINDish::Test
  • Config::BINDish::X

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.