can parse contract directives