Searched refs:macros (Results 1 – 4 of 4) sorted by relevance
45 private $macros; variable in Twig\\Parser90 $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;
125 * fixed using macros in arrow functions132 * fixed macro auto-import when a template contains only macros142 * fixed support for macros defined in parent templates148 * macros are now auto-imported in the template they are defined (under the ``_self`` variable)149 * added support for macros on "is defined" tests150 * fixed macros "import" when using the same name in the parent and child templates151 * fixed recursive macros152 * macros imported "globally" in a template are now available in macros without re-importing them173 * fixed "import" when macros are stored in a template string
33 …public function __construct(Node $body, ?AbstractExpression $parent, Node $blocks, Node $macros, N… argument42 'macros' => $macros,
75 **Comment Syntax support** converts custom control macros such as the Mikio macro `~~hero-image ...…