docs: document methods

This commit is contained in:
2025-12-29 20:44:55 -05:00
parent 05cd8bc4f3
commit 412d3924eb
3 changed files with 3 additions and 1 deletions

View File

@@ -212,6 +212,7 @@ func parseStatement(i *TokenIterator) (ast.Statement, error) {
}
}
// Given a list of tokens, attempt to parse it into an syntax tree.
func Parse(tokens []token.Token) (ast.Expression, error) {
i := iterator.Of(tokens)