cmDependsJavaLexer.h 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. #ifndef cmDependsJava_yyHEADER_H
  2. #define cmDependsJava_yyHEADER_H 1
  3. #define cmDependsJava_yyIN_HEADER 1
  4. #define YY_INT_ALIGNED short int
  5. /* A lexical scanner generated by flex */
  6. #define FLEX_SCANNER
  7. #define YY_FLEX_MAJOR_VERSION 2
  8. #define YY_FLEX_MINOR_VERSION 5
  9. #define YY_FLEX_SUBMINOR_VERSION 31
  10. #if YY_FLEX_SUBMINOR_VERSION > 0
  11. #define FLEX_BETA
  12. #endif
  13. /* First, we deal with platform-specific or compiler-specific issues. */
  14. /* begin standard C headers. */
  15. #include <stdio.h>
  16. #include <string.h>
  17. #include <errno.h>
  18. #include <stdlib.h>
  19. /* end standard C headers. */
  20. /* flex integer type definitions */
  21. #ifndef FLEXINT_H
  22. #define FLEXINT_H
  23. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  24. #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
  25. #include <inttypes.h>
  26. typedef int8_t flex_int8_t;
  27. typedef uint8_t flex_uint8_t;
  28. typedef int16_t flex_int16_t;
  29. typedef uint16_t flex_uint16_t;
  30. typedef int32_t flex_int32_t;
  31. typedef uint32_t flex_uint32_t;
  32. #else
  33. typedef signed char flex_int8_t;
  34. typedef short int flex_int16_t;
  35. typedef int flex_int32_t;
  36. typedef unsigned char flex_uint8_t;
  37. typedef unsigned short int flex_uint16_t;
  38. typedef unsigned int flex_uint32_t;
  39. #endif /* ! C99 */
  40. /* Limits of integral types. */
  41. #ifndef INT8_MIN
  42. #define INT8_MIN (-128)
  43. #endif
  44. #ifndef INT16_MIN
  45. #define INT16_MIN (-32767-1)
  46. #endif
  47. #ifndef INT32_MIN
  48. #define INT32_MIN (-2147483647-1)
  49. #endif
  50. #ifndef INT8_MAX
  51. #define INT8_MAX (127)
  52. #endif
  53. #ifndef INT16_MAX
  54. #define INT16_MAX (32767)
  55. #endif
  56. #ifndef INT32_MAX
  57. #define INT32_MAX (2147483647)
  58. #endif
  59. #ifndef UINT8_MAX
  60. #define UINT8_MAX (255U)
  61. #endif
  62. #ifndef UINT16_MAX
  63. #define UINT16_MAX (65535U)
  64. #endif
  65. #ifndef UINT32_MAX
  66. #define UINT32_MAX (4294967295U)
  67. #endif
  68. #endif /* ! FLEXINT_H */
  69. #ifdef __cplusplus
  70. /* The "const" storage-class-modifier is valid. */
  71. #define YY_USE_CONST
  72. #else /* ! __cplusplus */
  73. #if __STDC__
  74. #define YY_USE_CONST
  75. #endif /* __STDC__ */
  76. #endif /* ! __cplusplus */
  77. #ifdef YY_USE_CONST
  78. #define yyconst const
  79. #else
  80. #define yyconst
  81. #endif
  82. /* An opaque pointer. */
  83. #ifndef YY_TYPEDEF_YY_SCANNER_T
  84. #define YY_TYPEDEF_YY_SCANNER_T
  85. typedef void* yyscan_t;
  86. #endif
  87. /* For convenience, these vars (plus the bison vars far below)
  88. are macros in the reentrant scanner. */
  89. #define yyin yyg->yyin_r
  90. #define yyout yyg->yyout_r
  91. #define yyextra yyg->yyextra_r
  92. #define yyleng yyg->yyleng_r
  93. #define yytext yyg->yytext_r
  94. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  95. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  96. #define yy_flex_debug yyg->yy_flex_debug_r
  97. int cmDependsJava_yylex_init (yyscan_t* scanner);
  98. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  99. #define YY_TYPEDEF_YY_BUFFER_STATE
  100. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  101. #endif
  102. /* The following is because we cannot portably get our hands on size_t
  103. * (without autoconf's help, which isn't available because we want
  104. * flex-generated scanners to compile on their own).
  105. */
  106. #ifndef YY_TYPEDEF_YY_SIZE_T
  107. #define YY_TYPEDEF_YY_SIZE_T
  108. typedef unsigned int yy_size_t;
  109. #endif
  110. #ifndef YY_STRUCT_YY_BUFFER_STATE
  111. #define YY_STRUCT_YY_BUFFER_STATE
  112. struct yy_buffer_state
  113. {
  114. FILE *yy_input_file;
  115. char *yy_ch_buf; /* input buffer */
  116. char *yy_buf_pos; /* current position in input buffer */
  117. /* Size of input buffer in bytes, not including room for EOB
  118. * characters.
  119. */
  120. yy_size_t yy_buf_size;
  121. /* Number of characters read into yy_ch_buf, not including EOB
  122. * characters.
  123. */
  124. int yy_n_chars;
  125. /* Whether we "own" the buffer - i.e., we know we created it,
  126. * and can realloc() it to grow it, and should free() it to
  127. * delete it.
  128. */
  129. int yy_is_our_buffer;
  130. /* Whether this is an "interactive" input source; if so, and
  131. * if we're using stdio for input, then we want to use getc()
  132. * instead of fread(), to make sure we stop fetching input after
  133. * each newline.
  134. */
  135. int yy_is_interactive;
  136. /* Whether we're considered to be at the beginning of a line.
  137. * If so, '^' rules will be active on the next match, otherwise
  138. * not.
  139. */
  140. int yy_at_bol;
  141. int yy_bs_lineno; /**< The line count. */
  142. int yy_bs_column; /**< The column count. */
  143. /* Whether to try to fill the input buffer when we reach the
  144. * end of it.
  145. */
  146. int yy_fill_buffer;
  147. int yy_buffer_status;
  148. };
  149. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  150. void cmDependsJava_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  151. void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,
  152. yyscan_t yyscanner );
  153. YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE *file,int size ,
  154. yyscan_t yyscanner );
  155. void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  156. void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  157. void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,
  158. yyscan_t yyscanner );
  159. void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner );
  160. YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char *base,yy_size_t size ,
  161. yyscan_t yyscanner );
  162. YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char *yy_str ,
  163. yyscan_t yyscanner );
  164. YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char *bytes,int len ,
  165. yyscan_t yyscanner );
  166. void *cmDependsJava_yyalloc (yy_size_t ,yyscan_t yyscanner );
  167. void *cmDependsJava_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  168. void cmDependsJava_yyfree (void * ,yyscan_t yyscanner );
  169. /* Begin user sect3 */
  170. #define cmDependsJava_yywrap(n) 1
  171. #define YY_SKIP_YYWRAP
  172. #define yytext_ptr yytext_r
  173. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  174. #define INITIAL 0
  175. #define comment 1
  176. #define string 2
  177. #endif
  178. #ifndef YY_EXTRA_TYPE
  179. #define YY_EXTRA_TYPE void *
  180. #endif
  181. /* Accessor methods to globals.
  182. These are made visible to non-reentrant scanners for convenience. */
  183. int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
  184. int cmDependsJava_yyget_debug (yyscan_t yyscanner );
  185. void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  186. YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
  187. void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,
  188. yyscan_t yyscanner );
  189. FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
  190. void cmDependsJava_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  191. FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
  192. void cmDependsJava_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  193. int cmDependsJava_yyget_leng (yyscan_t yyscanner );
  194. char *cmDependsJava_yyget_text (yyscan_t yyscanner );
  195. int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
  196. void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
  197. /* Macros after this point can all be overridden by user definitions in
  198. * section 1.
  199. */
  200. #ifndef YY_SKIP_YYWRAP
  201. #ifdef __cplusplus
  202. extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
  203. #else
  204. extern int cmDependsJava_yywrap (yyscan_t yyscanner );
  205. #endif
  206. #endif
  207. #ifndef yytext_ptr
  208. static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
  209. #endif
  210. #ifdef YY_NEED_STRLEN
  211. static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
  212. #endif
  213. #ifndef YY_NO_INPUT
  214. #endif
  215. /* Amount of stuff to slurp up with each read. */
  216. #ifndef YY_READ_BUF_SIZE
  217. #define YY_READ_BUF_SIZE 8192
  218. #endif
  219. /* Number of entries by which start-condition stack grows. */
  220. #ifndef YY_START_STACK_INCR
  221. #define YY_START_STACK_INCR 25
  222. #endif
  223. /* Default declaration of generated scanner - a define so the user can
  224. * easily add parameters.
  225. */
  226. #ifndef YY_DECL
  227. #define YY_DECL_IS_OURS 1
  228. extern int cmDependsJava_yylex (yyscan_t yyscanner);
  229. #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
  230. #endif /* !YY_DECL */
  231. /* yy_get_previous_state - get the state just before the
  232. EOB char was reached */
  233. #undef YY_NEW_FILE
  234. #undef YY_FLUSH_BUFFER
  235. #undef yy_set_bol
  236. #undef yy_new_buffer
  237. #undef yy_set_interactive
  238. #undef yytext_ptr
  239. #undef YY_DO_BEFORE_ACTION
  240. #ifdef YY_DECL_IS_OURS
  241. #undef YY_DECL_IS_OURS
  242. #undef YY_DECL
  243. #endif
  244. #undef cmDependsJava_yyIN_HEADER
  245. #endif /* cmDependsJava_yyHEADER_H */