bp/compiler.h

21 lines
541 B
C
Raw Normal View History

2020-09-11 01:28:06 -07:00
/*
2020-12-30 19:42:47 -08:00
* compiler.h - Header file for BP compiler.
2020-09-11 01:28:06 -07:00
*/
#ifndef COMPILER__H
#define COMPILER__H
2020-09-16 19:35:43 -07:00
#include "file_loader.h"
#include "types.h"
2020-09-11 01:28:06 -07:00
2020-09-28 21:30:43 -07:00
__attribute__((nonnull(1,2)))
2020-12-30 19:42:47 -08:00
vm_op_t *bp_simplepattern(file_t *f, const char *str);
2020-09-28 21:30:43 -07:00
__attribute__((nonnull(1,2)))
2020-12-30 19:42:47 -08:00
vm_op_t *bp_stringpattern(file_t *f, const char *str);
__attribute__((nonnull(1,2)))
2020-12-30 19:42:47 -08:00
vm_op_t *bp_replacement(file_t *f, vm_op_t *pat, const char *replacement);
2020-09-28 21:30:43 -07:00
__attribute__((nonnull(1,2)))
2020-12-30 19:42:47 -08:00
vm_op_t *bp_pattern(file_t *f, const char *str);
2020-09-11 01:28:06 -07:00
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1