2009-12-08 18:46:35 +00:00
|
|
|
/*
|
|
|
|
** Lua parser (source code -> bytecode).
|
2025-01-13 14:59:10 +00:00
|
|
|
** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
|
2009-12-08 18:46:35 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LJ_PARSE_H
|
|
|
|
#define _LJ_PARSE_H
|
|
|
|
|
|
|
|
#include "lj_obj.h"
|
|
|
|
#include "lj_lex.h"
|
|
|
|
|
|
|
|
LJ_FUNC GCproto *lj_parse(LexState *ls);
|
|
|
|
LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l);
|
2010-12-24 00:31:39 +00:00
|
|
|
#if LJ_HASFFI
|
|
|
|
LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd);
|
|
|
|
#endif
|
2009-12-08 18:46:35 +00:00
|
|
|
|
|
|
|
#endif
|