Herb C Reference
Loading...
Searching...
No Matches
analyze_helpers.c File Reference
#include <prism.h>
#include <stdbool.h>
#include <string.h>
#include "include/analyzed_ruby.h"

Functions

bool has_if_node (analyzed_ruby_T *analyzed)
 
bool has_elsif_node (analyzed_ruby_T *analyzed)
 
bool has_else_node (analyzed_ruby_T *analyzed)
 
bool has_end (analyzed_ruby_T *analyzed)
 
bool has_block_node (analyzed_ruby_T *analyzed)
 
bool has_block_closing (analyzed_ruby_T *analyzed)
 
bool has_case_node (analyzed_ruby_T *analyzed)
 
bool has_when_node (analyzed_ruby_T *analyzed)
 
bool has_for_node (analyzed_ruby_T *analyzed)
 
bool has_while_node (analyzed_ruby_T *analyzed)
 
bool has_until_node (analyzed_ruby_T *analyzed)
 
bool has_begin_node (analyzed_ruby_T *analyzed)
 
bool has_rescue_node (analyzed_ruby_T *analyzed)
 
bool has_ensure_node (analyzed_ruby_T *analyzed)
 
bool has_unless_node (analyzed_ruby_T *analyzed)
 
bool has_error_message (analyzed_ruby_T *anlayzed, const char *message)
 
bool search_if_nodes (const pm_node_t *node, void *data)
 
bool search_block_nodes (const pm_node_t *node, void *data)
 
bool search_case_nodes (const pm_node_t *node, void *data)
 
bool search_while_nodes (const pm_node_t *node, void *data)
 
bool search_for_nodes (const pm_node_t *node, void *data)
 
bool search_until_nodes (const pm_node_t *node, void *data)
 
bool search_begin_nodes (const pm_node_t *node, void *data)
 
bool search_unless_nodes (const pm_node_t *node, void *data)
 
bool search_elsif_nodes (analyzed_ruby_T *analyzed)
 
bool search_else_nodes (analyzed_ruby_T *analyzed)
 
bool search_end_nodes (analyzed_ruby_T *analyzed)
 
bool search_block_closing_nodes (analyzed_ruby_T *analyzed)
 
bool search_when_nodes (analyzed_ruby_T *analyzed)
 
bool search_rescue_nodes (analyzed_ruby_T *analyzed)
 
bool search_ensure_nodes (analyzed_ruby_T *analyzed)
 

Function Documentation

◆ has_if_node()

bool has_if_node ( analyzed_ruby_T analyzed)

◆ has_elsif_node()

bool has_elsif_node ( analyzed_ruby_T analyzed)

◆ has_else_node()

bool has_else_node ( analyzed_ruby_T analyzed)

◆ has_end()

bool has_end ( analyzed_ruby_T analyzed)

◆ has_block_node()

bool has_block_node ( analyzed_ruby_T analyzed)

◆ has_block_closing()

bool has_block_closing ( analyzed_ruby_T analyzed)

◆ has_case_node()

bool has_case_node ( analyzed_ruby_T analyzed)

◆ has_when_node()

bool has_when_node ( analyzed_ruby_T analyzed)

◆ has_for_node()

bool has_for_node ( analyzed_ruby_T analyzed)

◆ has_while_node()

bool has_while_node ( analyzed_ruby_T analyzed)

◆ has_until_node()

bool has_until_node ( analyzed_ruby_T analyzed)

◆ has_begin_node()

bool has_begin_node ( analyzed_ruby_T analyzed)

◆ has_rescue_node()

bool has_rescue_node ( analyzed_ruby_T analyzed)

◆ has_ensure_node()

bool has_ensure_node ( analyzed_ruby_T analyzed)

◆ has_unless_node()

bool has_unless_node ( analyzed_ruby_T analyzed)

◆ has_error_message()

bool has_error_message ( analyzed_ruby_T anlayzed,
const char *  message 
)

◆ search_if_nodes()

bool search_if_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_block_nodes()

bool search_block_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_case_nodes()

bool search_case_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_while_nodes()

bool search_while_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_for_nodes()

bool search_for_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_until_nodes()

bool search_until_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_begin_nodes()

bool search_begin_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_unless_nodes()

bool search_unless_nodes ( const pm_node_t *  node,
void *  data 
)

◆ search_elsif_nodes()

bool search_elsif_nodes ( analyzed_ruby_T analyzed)

◆ search_else_nodes()

bool search_else_nodes ( analyzed_ruby_T analyzed)

◆ search_end_nodes()

bool search_end_nodes ( analyzed_ruby_T analyzed)

◆ search_block_closing_nodes()

bool search_block_closing_nodes ( analyzed_ruby_T analyzed)

◆ search_when_nodes()

bool search_when_nodes ( analyzed_ruby_T analyzed)

◆ search_rescue_nodes()

bool search_rescue_nodes ( analyzed_ruby_T analyzed)

◆ search_ensure_nodes()

bool search_ensure_nodes ( analyzed_ruby_T analyzed)