Home
last modified time | relevance | path

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

/template/twigstarter/vendor/twig/twig/src/
H A 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/
H A 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/
H A DModuleNode.php33 …public function __construct(Node $body, ?AbstractExpression $parent, Node $blocks, Node $macros, N… argument
42 'macros' => $macros,
/template/mikio/
H A DREADME.md48 **Comment Syntax support** converts custom control macros such as the Mikio macro `~~hero-image ...~~` into comments. If you plan to use this extension on your site, you will need to use the alternative macro format of `-~hero-image ...~-` for Mikio to detect the information.