public function macroFormContainer(MacroNode $node, PhpWriter $writer)
{
if ($node->modifiers) {
throw new CompileException('Modifiers are not allowed in ' . $node->getNotation());
}
$name = $node->tokenizer->fetchWord();
if ($name === FALSE) {
throw new CompileException('Missing name in ' . $node->getNotation());
}
$node->tokenizer->reset();
return $writer->write('$this->global->formsStack[] = $formContainer = $_form = ' . ($name[0] === '$' ? 'is_object(%node.word) ? %node.word : ' : '') . 'end($this->global->formsStack)[%node.word];');
}