Herb C Reference
Loading...
Searching...
No Matches
analyze_helpers.h
Go to the documentation of this file.
1#ifndef HERB_ANALYZE_HELPERS_H
2#define HERB_ANALYZE_HELPERS_H
3
4#include <prism.h>
5#include <stdbool.h>
6
7#include "analyzed_ruby.h"
8
9bool has_if_node(analyzed_ruby_T* analyzed);
10bool has_elsif_node(analyzed_ruby_T* analyzed);
11bool has_else_node(analyzed_ruby_T* analyzed);
12bool has_end(analyzed_ruby_T* analyzed);
13bool has_block_node(analyzed_ruby_T* analyzed);
15bool has_case_node(analyzed_ruby_T* analyzed);
17bool has_when_node(analyzed_ruby_T* analyzed);
18bool has_in_node(analyzed_ruby_T* analyzed);
19bool has_for_node(analyzed_ruby_T* analyzed);
20bool has_while_node(analyzed_ruby_T* analyzed);
21bool has_until_node(analyzed_ruby_T* analyzed);
22bool has_begin_node(analyzed_ruby_T* analyzed);
23bool has_rescue_node(analyzed_ruby_T* analyzed);
24bool has_ensure_node(analyzed_ruby_T* analyzed);
25bool has_unless_node(analyzed_ruby_T* analyzed);
26bool has_yield_node(analyzed_ruby_T* analyzed);
27
28bool has_error_message(analyzed_ruby_T* anlayzed, const char* message);
29
30bool search_if_nodes(const pm_node_t* node, void* data);
31bool search_block_nodes(const pm_node_t* node, void* data);
32bool search_case_nodes(const pm_node_t* node, void* data);
33bool search_case_match_nodes(const pm_node_t* node, void* data);
34bool search_while_nodes(const pm_node_t* node, void* data);
35bool search_for_nodes(const pm_node_t* node, void* data);
36bool search_until_nodes(const pm_node_t* node, void* data);
37bool search_begin_nodes(const pm_node_t* node, void* data);
38bool search_unless_nodes(const pm_node_t* node, void* data);
41bool search_end_nodes(analyzed_ruby_T* analyzed);
44bool search_in_nodes(analyzed_ruby_T* analyzed);
48
49#endif
bool search_block_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:106
bool has_block_closing(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:27
bool has_until_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:55
bool search_yield_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:282
bool has_error_message(analyzed_ruby_T *anlayzed, const char *message)
Definition analyze_helpers.c:79
bool has_block_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:23
bool has_rescue_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:63
bool has_case_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:31
bool has_for_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:47
bool search_when_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:246
bool search_begin_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:184
bool search_while_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:145
bool search_for_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:158
bool has_elsif_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:11
bool search_case_match_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:132
bool search_until_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:171
bool has_if_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:7
bool has_when_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:39
bool search_end_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:228
bool has_ensure_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:67
bool has_in_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:43
bool search_in_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:255
bool has_yield_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:75
bool search_unless_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:197
bool search_rescue_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:264
bool search_if_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:88
bool has_while_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:51
bool has_case_match_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:35
bool has_else_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:15
bool search_ensure_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:273
bool search_elsif_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:210
bool search_case_nodes(const pm_node_t *node, void *data)
Definition analyze_helpers.c:119
bool has_end(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:19
bool has_unless_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:71
bool search_else_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:219
bool has_begin_node(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:59
bool search_block_closing_nodes(analyzed_ruby_T *analyzed)
Definition analyze_helpers.c:237
Definition analyzed_ruby.h:8