public function macroIfContent(MacroNode $node, PhpWriter $writer) { if (!$node->prefix || $node->prefix !== MacroNode::PREFIX_NONE) { throw new CompileException('Unknown ' . $node->getNotation() . ", use n:{$node->name} attribute."); } }