Home
last modified time | relevance | path

Searched refs:macros (Results 1 – 4 of 4) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/
DParser.php45 private $macros; variable in Twig\\Parser
90 $this->macros = [];
114 …dyNode([$body]), $this->parent, new Node($this->blocks), new Node($this->macros), new Node($this->…
239 return isset($this->macros[$name]);
244 $this->macros[$name] = $node;
/template/twigstarter/vendor/twig/twig/
DCHANGELOG125 * fixed using macros in arrow functions
132 * fixed macro auto-import when a template contains only macros
142 * fixed support for macros defined in parent templates
148 * macros are now auto-imported in the template they are defined (under the ``_self`` variable)
149 * added support for macros on "is defined" tests
150 * fixed macros "import" when using the same name in the parent and child templates
151 * fixed recursive macros
152 * macros imported "globally" in a template are now available in macros without re-importing them
173 * fixed "import" when macros are stored in a template string
/template/twigstarter/vendor/twig/twig/src/Node/
DModuleNode.php33 …public function __construct(Node $body, ?AbstractExpression $parent, Node $blocks, Node $macros, N… argument
42 'macros' => $macros,
/template/mikio/
H A DREADME.md75 **Comment Syntax support** converts custom control macros such as the Mikio macro `~~hero-image ...…