1 /* 2 * Copyright (c) 2022, Masatake YAMATO 3 * 4 * This source code is released for free distribution under the terms of the 5 * GNU General Public License version 2 or (at your option) any later version. 6 * 7 * The interface for subparsers of Markdown 8 */ 9 #ifndef CTAGS_PARSER_MARKDOWN_H 10 #define CTAGS_PARSER_MARKDOWN_H 11 12 /* 13 * INCLUDE FILES 14 */ 15 #include "general.h" /* must always come first */ 16 17 #include "subparser.h" 18 #include "vstring.h" 19 20 typedef struct sMarkdownSubparser markdownSubparser; 21 22 struct sMarkdownSubparser { 23 subparser subparser; 24 bool (* extractLanguageForCodeBlock) (markdownSubparser *s, 25 const char *langMarker, 26 vString *langName); 27 }; 28 29 #endif 30