Header: mruby/compile.h

Function Summary collapse

Define Summary

#define MRUBY_COMPILE_H
#define STR_FUNC_PARSING
#define STR_FUNC_EXPAND
#define STR_FUNC_REGEXP
#define STR_FUNC_WORD
#define STR_FUNC_SYMBOL
#define STR_FUNC_ARRAY
#define STR_FUNC_HEREDOC
#define STR_FUNC_XQUOTE
#define MRB_PARSER_TOKBUF_MAX
#define MRB_PARSER_TOKBUF_SIZE

Function Details

mrbc_context* mrbc_context_new(mrb_state * mrb)

void mrbc_context_free(mrb_state * mrb, mrbc_context * cxt)

struct mrb_parser_state* mrb_parser_new(mrb_state* )

void mrb_parser_free(struct mrb_parser_state* )

void mrb_parser_parse(struct mrb_parser_state* , mrbc_context* )

void mrb_parser_set_filename(struct mrb_parser_state* , char const)

mrb_sym mrb_parser_get_filename(struct mrb_parser_state* , uint16_t idx)

struct mrb_parser_state* mrb_parse_file(mrb_state* , FILE* , mrbc_context* )

struct mrb_parser_state* mrb_parse_string(mrb_state* , const char* , mrbc_context* )

struct mrb_parser_state* mrb_parse_nstring(mrb_state* , const char* , size_t , mrbc_context* )

struct RProc* mrb_generate_code(mrb_state* , struct mrb_parser_state* )

mrb_value mrb_load_exec(mrb_state * mrb, struct mrb_parser_state * p, mrbc_context * c)

mrb_value mrb_load_file(mrb_state* , FILE* )

mrb_value mrb_load_file_cxt(mrb_state* , FILE* , mrbc_context * cxt)

mrb_value mrb_load_string(mrb_state * mrb, const char * s)

mrb_value mrb_load_nstring(mrb_state * mrb, const char * s, size_t len)

mrb_value mrb_load_string_cxt(mrb_state * mrb, const char * s, mrbc_context * cxt)

mrb_value mrb_load_nstring_cxt(mrb_state * mrb, const char * s, size_t len, mrbc_context * cxt)