Skip to content

Wrap ast.Expr into a valid ast.File? #444

Answered by cueckoo
cueckoo asked this question in General
Discussion options

You must be logged in to vote

Original reply by @shykes in cuelang/cue#444 (comment)

I got the answer from @mpvl on slack: "cuelang.org/go/cue/ast/astutil".ToFile. Thank you!

Replies: 1 comment

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant