Merging AST code into parser and extending parser.