Add an AST structure to the parser