BlockProps
NAME
Config::BINDish::Grammar::BlockProps - block statement properties
DESCRIPTION
Does Config::BINDish::Grammar::StatementProps, Config::BINDish::Grammar::ContainerProps, Config::BINDish::Grammar::DeclarationProps.
ATTRIBUTES
Bool $.named
If True then block must have a name.
Bool $.classified
If True then block must have a class. Only makes sense when $.named is True.
Bool $.value-only
If True then block can only contain values. For example:
acl "local-net" allowed {
192.168.42.0/24; 192.168.13.0/24;
default-gw 192.168.1.1; # Context error, option cannot be used here
}
METHODS
values()
Coerces $.default attribute to List and returns it. If the attribute is not set
then returns an empty list.
SEE ALSO
COPYRIGHT
(c) 2023, Vadim Belman <[email protected]>
LICENSE
Artistic License 2.0
See the LICENSE file in this distribution.