add preprocessing for declaration handlers of semantic calculator