add example for CodeFromAST