Implement Abstract Syntax Tree.