Seperate function prototype from attribute generation.
Generate subset of syntax tree.