| 1 | package Text::Nunjucks::Nodes::Dict; | ||
| 2 | # ABSTRACT: AST node Dict (fields children), ported from nodes.js | ||
| 3 | |||
| 4 | 20 | our $VERSION = '0.001'; | |
| 5 | |||
| 6 | 20 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 20 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 20 | extends 'Text::Nunjucks::Nodes::NodeList'; | |
| 10 | |||
| 11 | # nodes.js: const Dict = NodeList.extend('Dict'); | ||
| 12 | # No {fields}: the field list and its accessors are inherited | ||
| 13 | # from NodeList (children). | ||
| 14 | |||
| 15 | 805 | ▶ | sub typename { 'Dict' } |
|
Subroutine
typename: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 16 | |||
| 17 | 20 | 1; | |
| 18 | |||
| 19 | __END__ | ||