src/lj_parse.h - luajit-2.0-src

Macros defined

Source code

  1. /*
  2. ** Lua parser (source code -> bytecode).
  3. ** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h
  4. */

  5. #ifndef _LJ_PARSE_H
  6. #define _LJ_PARSE_H

  7. #include "lj_obj.h"
  8. #include "lj_lex.h"

  9. LJ_FUNC GCproto *lj_parse(LexState *ls);
  10. LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l);
  11. #if LJ_HASFFI
  12. LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd);
  13. #endif

  14. #endif