| 1 | #ifndef TREE_SITTER_COMMENT_CHARS_H |
| 2 | #define TREE_SITTER_COMMENT_CHARS_H |
| 3 | |
| 4 | #include <stdbool.h> |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | #define CHAR_EOF 0 |
| 8 | #define CHAR_NEWLINE 10 |
| 9 | #define CHAR_CARRIAGE_RETURN 13 |
| 10 | |
| 11 | #define CHAR_SPACE ' ' |
| 12 | #define CHAR_FORM_FEED '\f' |
| 13 | #define CHAR_TAB '\t' |
| 14 | #define CHAR_VERTICAL_TAB '\v' |
| 15 | |
| 16 | bool is_internal_char(int32_t c); |
| 17 | bool is_newline(int32_t c); |
| 18 | bool is_space(int32_t c); |
| 19 | bool is_upper(int32_t c); |
| 20 | bool is_digit(int32_t c); |
| 21 | |
| 22 | #endif /* ifndef TREE_SITTER_COMMENT_CHARS_H */ |