vessel/web/include/temple-tokens.h
2025-09-06 22:03:31 +03:00

20 lines
859 B
C

#ifndef VESSEL_WEB_TEMPLE_TOKENS_H_
#define VESSEL_WEB_TEMPLE_TOKENS_H_
#include "conf.h"
#include "temple.h"
vw_TempleASTNode *vw_TempleASTNode_new_text(const char *start, const char *end);
vw_TempleASTNode *vw_TempleASTNode_new_comment(const char *start, const char *end);
vw_TempleASTNode *vw_TempleASTNode_new_unary_expr(vw_TempleASTUnaryOperator operator,
vw_TempleASTNode * operand);
const char *vw_TempleASTBinaryOperator_to_str(vw_TempleASTBinaryOperator operator);
const char *vw_TempleASTAssignmentOperator_to_str(vw_TempleASTAssignmentOperator operator);
const char *vw_TempleASTUnaryOperator_to_str(vw_TempleASTUnaryOperator operator);
const char *
vw_Temple_lex_find_end(const char *start, const char *end, const char *closing, size_t closing_len);
#endif /* VESSEL_WEB_TEMPLE_TOKENS_H_ */