def METHOD_NAME(name, attrs, body):
    if body == ";":
        return Directive(name=name.value, attrs=attrs, lineno=name.lineno, src=self)
    return Section(name=name.value, attrs=attrs, children=body, lineno=name.lineno, src=self)