1/*
2** Lua parser (source code -> bytecode).
3** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
4*/
5
6#ifndef _LJ_PARSE_H
7#define _LJ_PARSE_H
8
9#include "lj_obj.h"
10#include "lj_lex.h"
11
12LJ_FUNC GCproto *lj_parse(LexState *ls);
13LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l);
14#if LJ_HASFFI
15LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd);
16#endif
17
18#endif
19