add syntax tree and symbol