aboutsummaryrefslogtreecommitdiff
path: root/src/parse/text.h
blob: 865bc5a43652878ab9f8389fa80a6003ef7f0b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
// Logic for parsing text literals
#pragma once

#include <stdbool.h>

#include "../ast.h"
#include "context.h"

ast_t *parse_text(parse_ctx_t *ctx, const char *pos, bool allow_interps);
ast_t *parse_inline_c(parse_ctx_t *ctx, const char *pos);
ast_t *parse_path(parse_ctx_t *ctx, const char *pos);