cleaned up and documented likely_abstract_syntax_tree