NavigateAST converts an AST to a NavigableExpr
(ast *AST)
| 44 | |
| 45 | // NavigateAST converts an AST to a NavigableExpr |
| 46 | func NavigateAST(ast *AST) NavigableExpr { |
| 47 | return NavigateExpr(ast, ast.Expr()) |
| 48 | } |
| 49 | |
| 50 | // NavigateExpr creates a NavigableExpr whose type information is backed by the input AST. |
| 51 | // |