Parse directive.