1 #ifndef PRISM_EXT_NODE_H
2 #define PRISM_EXT_NODE_H
4 #define EXPECTED_PRISM_VERSION "1.4.0"
7 #include <ruby/encoding.h>
10 VALUE
pm_source_new(const pm_parser_t
*parser
, rb_encoding
*encoding
, bool freeze
);
11 VALUE
pm_token_new(const pm_parser_t
*parser
, const pm_token_t
*token
, rb_encoding
*encoding
, VALUE source
, bool freeze
);
12 VALUE
pm_ast_new(const pm_parser_t
*parser
, const pm_node_t
*node
, rb_encoding
*encoding
, VALUE source
, bool freeze
);
13 VALUE
pm_integer_new(const pm_integer_t
*integer
);
15 void Init_prism_api_node(void);
16 void Init_prism_pack(void);
17 RUBY_FUNC_EXPORTED
void Init_prism(void);