added toString() to parsing directives, for debugging purposes