Home
last modified time | relevance | path

Searched refs:lookahead (Results 1 – 25 of 3949) sorted by relevance

12345678910>>...158

/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-protobuf/src/
H A Dparser.c986 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1019 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1041 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1087 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
1088 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
1094 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
1095 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
1101 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
1102 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
1108 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-css/src/
H A Dparser.c937 if (('A' <= lookahead && lookahead <= 'F') || in ts_lex()
965 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
996 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1026 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1056 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1082 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1127 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1151 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1168 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
1187 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
[all …]
/dports/biology/exonerate/exonerate-2.4.0/src/sdp/
H A Dlookahead.c38 return lookahead; in Lookahead_create()
57 Lookahead_move(lookahead, lookahead->pos in Lookahead_destroy()
62 g_free(lookahead); in Lookahead_destroy()
67 Lookahead_move(lookahead, lookahead->pos + Lookahead_Mask_WIDTH); in Lookahead_reset()
69 lookahead->pos = lookahead->reset_pos; in Lookahead_reset()
76 return lookahead->index[Lookahead_index_pos(lookahead, advance)]; in Lookahead_get()
94 lookahead->free_func(lookahead->index[index_pos], in Lookahead_clear()
105 lookahead->pos += Lookahead_next_pos(lookahead); in Lookahead_next()
107 lookahead->pos = lookahead->reset_pos; /* empty */ in Lookahead_next()
108 return lookahead->pos; in Lookahead_next()
[all …]
H A Dlookahead.test.c30 word = Lookahead_get(lookahead, 0); in main()
34 word = Lookahead_get(lookahead, 0); in main()
38 word = Lookahead_get(lookahead, 7); in main()
49 Lookahead_next(lookahead); in main()
50 word = Lookahead_get(lookahead, 0); in main()
53 Lookahead_next(lookahead); in main()
57 Lookahead_get(lookahead, 12); in main()
61 Lookahead_move(lookahead, 20); in main()
66 Lookahead_move(lookahead, 24); in main()
67 Lookahead_next(lookahead); in main()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-toml/src/
H A Dparser.c537 if (('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
815 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
816 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
820 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
821 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
825 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
826 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
830 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
920 (lookahead < '\n' || 31 < lookahead) && in ts_lex()
1289 (lookahead < '\n' || 31 < lookahead) && in ts_lex()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-elixir/src/
H A Dscanner.cc67 if (lexer->lookahead == ':') { in check_keyword_end()
76 if (lexer->lookahead == ':') { in check_operator_end()
83 if (lexer->lookahead == '/') { in check_operator_end()
88 if (is_digit(lexer->lookahead)) { in check_operator_end()
229 if (lexer->lookahead == '#') { in scan_newline()
237 if (lexer->lookahead == 'o') { in scan_newline()
248 if (lexer->lookahead == '&') { in scan_newline()
535 if (lexer->lookahead == '+') { in scan()
539 if (lexer->lookahead == '+' || lexer->lookahead == ':' || lexer->lookahead == '/') { in scan()
554 …if (lexer->lookahead == '-' || lexer->lookahead == '>' || lexer->lookahead == ':' || lexer->lookah… in scan()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libx264/encoder/
H A Dlookahead.c78 while( h->lookahead->ofbuf.i_size == h->lookahead->ofbuf.i_max_size ) in x264_lookahead_slicetype_decide()
79 x264_pthread_cond_wait( &h->lookahead->ofbuf.cv_empty, &h->lookahead->ofbuf.mutex ); in x264_lookahead_slicetype_decide()
82 x264_lookahead_shift( &h->lookahead->ofbuf, &h->lookahead->next, shift_frames ); in x264_lookahead_slicetype_decide()
99 …shift = X264_MIN( h->lookahead->next.i_max_size - h->lookahead->next.i_size, h->lookahead->ifbuf.i… in x264_lookahead_thread()
100 x264_lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, shift ); in x264_lookahead_thread()
104 while( !h->lookahead->ifbuf.i_size && !h->lookahead->b_exit_thread ) in x264_lookahead_thread()
116 x264_lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, h->lookahead->ifbuf.i_size ); in x264_lookahead_thread()
189 x264_free( h->lookahead ); in x264_lookahead_delete()
206 b_empty = !h->lookahead->next.i_size && !h->lookahead->ofbuf.i_size; in x264_lookahead_is_empty()
232 while( !h->lookahead->ofbuf.i_size && h->lookahead->b_thread_active ) in x264_lookahead_get_frames()
[all …]
/dports/multimedia/x264/x264-5db6aa6cab1b146e07b60cc1736a01f21da01154/encoder/
H A Dlookahead.c76 while( h->lookahead->ofbuf.i_size == h->lookahead->ofbuf.i_max_size ) in lookahead_slicetype_decide()
77 x264_pthread_cond_wait( &h->lookahead->ofbuf.cv_empty, &h->lookahead->ofbuf.mutex ); in lookahead_slicetype_decide()
80 lookahead_shift( &h->lookahead->ofbuf, &h->lookahead->next, shift_frames ); in lookahead_slicetype_decide()
96 …int shift = X264_MIN( h->lookahead->next.i_max_size - h->lookahead->next.i_size, h->lookahead->ifb… in lookahead_thread()
97 lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, shift ); in lookahead_thread()
101 while( !h->lookahead->ifbuf.i_size && !h->lookahead->b_exit_thread ) in lookahead_thread()
113 lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, h->lookahead->ifbuf.i_size ); in lookahead_thread()
184 x264_free( h->lookahead ); in x264_lookahead_delete()
199 int b_empty = !h->lookahead->next.i_size && !h->lookahead->ofbuf.i_size; in x264_lookahead_is_empty()
223 while( !h->lookahead->ofbuf.i_size && h->lookahead->b_thread_active ) in x264_lookahead_get_frames()
[all …]
/dports/multimedia/libx264/x264-5db6aa6cab1b146e07b60cc1736a01f21da01154/encoder/
H A Dlookahead.c76 while( h->lookahead->ofbuf.i_size == h->lookahead->ofbuf.i_max_size ) in lookahead_slicetype_decide()
77 x264_pthread_cond_wait( &h->lookahead->ofbuf.cv_empty, &h->lookahead->ofbuf.mutex ); in lookahead_slicetype_decide()
80 lookahead_shift( &h->lookahead->ofbuf, &h->lookahead->next, shift_frames ); in lookahead_slicetype_decide()
96 …int shift = X264_MIN( h->lookahead->next.i_max_size - h->lookahead->next.i_size, h->lookahead->ifb… in lookahead_thread()
97 lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, shift ); in lookahead_thread()
101 while( !h->lookahead->ifbuf.i_size && !h->lookahead->b_exit_thread ) in lookahead_thread()
113 lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, h->lookahead->ifbuf.i_size ); in lookahead_thread()
184 x264_free( h->lookahead ); in x264_lookahead_delete()
199 int b_empty = !h->lookahead->next.i_size && !h->lookahead->ofbuf.i_size; in x264_lookahead_is_empty()
223 while( !h->lookahead->ofbuf.i_size && h->lookahead->b_thread_active ) in x264_lookahead_get_frames()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libx264/encoder/
H A Dlookahead.c78 while( h->lookahead->ofbuf.i_size == h->lookahead->ofbuf.i_max_size ) in x264_lookahead_slicetype_decide()
79 x264_pthread_cond_wait( &h->lookahead->ofbuf.cv_empty, &h->lookahead->ofbuf.mutex ); in x264_lookahead_slicetype_decide()
82 x264_lookahead_shift( &h->lookahead->ofbuf, &h->lookahead->next, shift_frames ); in x264_lookahead_slicetype_decide()
99 …shift = X264_MIN( h->lookahead->next.i_max_size - h->lookahead->next.i_size, h->lookahead->ifbuf.i… in x264_lookahead_thread()
100 x264_lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, shift ); in x264_lookahead_thread()
104 while( !h->lookahead->ifbuf.i_size && !h->lookahead->b_exit_thread ) in x264_lookahead_thread()
116 x264_lookahead_shift( &h->lookahead->next, &h->lookahead->ifbuf, h->lookahead->ifbuf.i_size ); in x264_lookahead_thread()
189 x264_free( h->lookahead ); in x264_lookahead_delete()
206 b_empty = !h->lookahead->next.i_size && !h->lookahead->ofbuf.i_size; in x264_lookahead_is_empty()
232 while( !h->lookahead->ofbuf.i_size && h->lookahead->b_thread_active ) in x264_lookahead_get_frames()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-json/src/
H A Dparser.c253 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(35); in ts_lex()
273 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(35); in ts_lex()
308 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39); in ts_lex()
325 if (('0' <= lookahead && lookahead <= '7')) ADVANCE(38); in ts_lex()
328 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(36); in ts_lex()
331 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39); in ts_lex()
334 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
335 ('A' <= lookahead && lookahead <= 'F') || in ts_lex()
336 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); in ts_lex()
450 if (('0' <= lookahead && lookahead <= '9') || in ts_lex()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-ocaml/common/
H A Dscanner.h44 …s[LEFT_QUOTED_STRING_DELIM] && (iswlower(lexer->lookahead) || lexer->lookahead == '_' || lexer->lo… in scan()
65 while (lexer->lookahead == ' ' || lexer->lookahead == '\t') advance(lexer); in scan()
70 while (lexer->lookahead == ' ' || lexer->lookahead == '\t') advance(lexer); in scan()
73 …while (lexer->lookahead != '\n' && lexer->lookahead != '\r' && lexer->lookahead != '"') advance(le… in scan()
76 while (lexer->lookahead != '\n' && lexer->lookahead != '\r') advance(lexer); in scan()
119 switch (lexer->lookahead) { in scan_character()
133 …if (!iswdigit(lexer->lookahead) && (towupper(lexer->lookahead) < 'A' || towupper(lexer->lookahead)… in scan_character()
140 if (!iswdigit(lexer->lookahead) || lexer->lookahead > '7') return 0; in scan_character()
182 while (iswlower(lexer->lookahead) || lexer->lookahead == '_') { in scan_left_quoted_string_delimiter()
226 if (iswalpha(lexer->lookahead) || lexer->lookahead == '_') { in scan_identifier()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-lua/src/
H A Dscanner.cc21 if (lexer->lookahead == *c) { in scan_sequence()
41 if (lexer->lookahead == '[' || lexer->lookahead == '=') { in scan_multiline_content()
63 if (lexer->lookahead == ']' || lexer->lookahead == '=') { in scan_multiline_content()
107 while (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
112 if (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
125 if (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
144 while (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
149 if (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
162 if (lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
179 while (iswspace(lexer->lookahead) && lexer->lookahead != '\n' && lexer->lookahead != 0) { in scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-scala/src/
H A Dscanner.c28 if (lexer->lookahead == '"') { in scan_string_content()
39 } else if (lexer->lookahead == '$') { in scan_string_content()
51 if (lexer->lookahead == '\\') { in scan_string_content()
54 } else if (lexer->lookahead == '\n') { in scan_string_content()
60 } else if (lexer->lookahead == 0) { in scan_string_content()
72 while (iswspace(lexer->lookahead)) { in tree_sitter_scala_external_scanner_scan()
97 if (lexer->lookahead != 'c' && lexer->lookahead != 'f') return true; in tree_sitter_scala_external_scanner_scan()
99 if (lexer->lookahead == 'a') { in tree_sitter_scala_external_scanner_scan()
150 while (iswspace(lexer->lookahead)) { in tree_sitter_scala_external_scanner_scan()
159 if (lexer->lookahead == '"') { in tree_sitter_scala_external_scanner_scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-bash/src/
H A Dscanner.cc73 quote = lexer->lookahead; in scan_heredoc_start()
77 while (iswalpha(lexer->lookahead) || (quote != 0 && iswspace(lexer->lookahead))) { in scan_heredoc_start()
93 lexer->lookahead != '\0' && in scan_heredoc_end_identifier()
94 lexer->lookahead != '\n' && in scan_heredoc_end_identifier()
107 switch (lexer->lookahead) { in scan_heredoc_content()
173 lexer->lookahead == 0 || in scan()
254 } else if (iswalpha(lexer->lookahead) || lexer->lookahead == '_') { in scan()
264 } else if (iswalpha(lexer->lookahead) || lexer->lookahead == '_') { in scan()
274 (lexer->lookahead == '>' || lexer->lookahead == '<')) { in scan()
289 } else if (lexer->lookahead == '=' || lexer->lookahead == '[') { in scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-rust/src/
H A Dscanner.c30 if (lexer->lookahead == '\"' || lexer->lookahead == '\\') { in tree_sitter_rust_external_scanner_scan()
46 (lexer->lookahead == 'r' || lexer->lookahead == 'b') in tree_sitter_rust_external_scanner_scan()
54 while (lexer->lookahead == '#') { in tree_sitter_rust_external_scanner_scan()
63 if (lexer->lookahead == 0) { in tree_sitter_rust_external_scanner_scan()
91 if (lexer->lookahead == '.') { in tree_sitter_rust_external_scanner_scan()
99 if (lexer->lookahead == '.') { in tree_sitter_rust_external_scanner_scan()
109 if (lexer->lookahead == 'e' || lexer->lookahead == 'E') { in tree_sitter_rust_external_scanner_scan()
112 if (lexer->lookahead == '+' || lexer->lookahead == '-') { in tree_sitter_rust_external_scanner_scan()
128 if (lexer->lookahead != 'u' && lexer->lookahead != 'i' && lexer->lookahead != 'f') { in tree_sitter_rust_external_scanner_scan()
144 if (lexer->lookahead == '/') { in tree_sitter_rust_external_scanner_scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-ruby/src/
H A Dscanner.cc228 …if (crossed_newline && lexer->lookahead != '.' && lexer->lookahead != '&' && lexer->lookahead != '… in scan_whitespace()
298 if (lexer->lookahead == '=' || lexer->lookahead == '~') advance(lexer); in scan_operator()
344 if (lexer->lookahead == '?' || lexer->lookahead == '!') { in scan_symbol_identifier()
556 while (lexer->lookahead != quote && lexer->lookahead != 0) { in scan_heredoc_word()
564 if (iswalnum(lexer->lookahead) || lexer->lookahead == '_') { in scan_heredoc_word()
567 while (iswalnum(lexer->lookahead) || lexer->lookahead == '_') { in scan_heredoc_word()
647 while (lexer->lookahead == ' ' || lexer->lookahead == '\t') { in scan_heredoc_content()
827 if (lexer->lookahead != '=' && lexer->lookahead != '>') { in scan()
899 && (iswalpha(lexer->lookahead) || lexer->lookahead == '_')) { in scan()
900 while (iswalnum(lexer->lookahead) || lexer->lookahead == '_') { in scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-ledger/src/
H A Dparser.c3037 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(191); in ts_lex()
3050 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(316); in ts_lex()
3059 if (('-' <= lookahead && lookahead <= '/')) ADVANCE(297); in ts_lex()
3060 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199); in ts_lex()
3067 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196); in ts_lex()
3076 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(191); in ts_lex()
3103 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(316); in ts_lex()
3225 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(27); in ts_lex()
3508 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(27); in ts_lex()
3845 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(30); in ts_lex()
[all …]
/dports/net/gnu-dico/dico-2.10/grecs/src/
H A Dpath-parser.c56 int lookahead; in grecs_path_parser() local
75 while (lookahead == ' ' || lookahead == '\t') in grecs_path_parser()
87 if (lookahead <= 0) in grecs_path_parser()
93 for (; lookahead > 0 && lookahead != ':'; in grecs_path_parser()
98 if (lookahead <= 0) in grecs_path_parser()
102 } else if (lookahead == '\'' || lookahead == '"') in grecs_path_parser()
103 inquote = lookahead; in grecs_path_parser()
107 if (lookahead <= 0) { in grecs_path_parser()
120 (lookahead == ' ' || lookahead == '\t')); in grecs_path_parser()
122 if (lookahead <= 0) { in grecs_path_parser()
[all …]
/dports/sysutils/direvent/direvent-5.2/grecs/src/
H A Dpath-parser.c56 int lookahead; in grecs_path_parser() local
75 while (lookahead == ' ' || lookahead == '\t') in grecs_path_parser()
87 if (lookahead <= 0) in grecs_path_parser()
93 for (; lookahead > 0 && lookahead != ':'; in grecs_path_parser()
98 if (lookahead <= 0) in grecs_path_parser()
102 } else if (lookahead == '\'' || lookahead == '"') in grecs_path_parser()
103 inquote = lookahead; in grecs_path_parser()
107 if (lookahead <= 0) { in grecs_path_parser()
120 (lookahead == ' ' || lookahead == '\t')); in grecs_path_parser()
122 if (lookahead <= 0) { in grecs_path_parser()
[all …]
/dports/sysutils/pies/pies-1.5/grecs/src/
H A Dpath-parser.c56 int lookahead; in grecs_path_parser() local
75 while (lookahead == ' ' || lookahead == '\t') in grecs_path_parser()
87 if (lookahead <= 0) in grecs_path_parser()
93 for (; lookahead > 0 && lookahead != ':'; in grecs_path_parser()
98 if (lookahead <= 0) in grecs_path_parser()
102 } else if (lookahead == '\'' || lookahead == '"') in grecs_path_parser()
103 inquote = lookahead; in grecs_path_parser()
107 if (lookahead <= 0) { in grecs_path_parser()
120 (lookahead == ' ' || lookahead == '\t')); in grecs_path_parser()
122 if (lookahead <= 0) { in grecs_path_parser()
[all …]
/dports/sysutils/eclat/eclat-2.0/grecs/src/
H A Dpath-parser.c56 int lookahead;
75 while (lookahead == ' ' || lookahead == '\t')
87 if (lookahead <= 0)
93 for (; lookahead > 0 && lookahead != ':';
98 if (lookahead <= 0)
102 } else if (lookahead == '\'' || lookahead == '"')
103 inquote = lookahead;
107 if (lookahead <= 0) {
120 (lookahead == ' ' || lookahead == '\t'));
122 if (lookahead <= 0) {
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-typescript/common/
H A Dscanner.h15 while (iswspace(lexer->lookahead)) { in scan_whitespace_and_comments()
19 if (lexer->lookahead == '/') { in scan_whitespace_and_comments()
22 if (lexer->lookahead == '/') { in scan_whitespace_and_comments()
24 while (lexer->lookahead != 0 && lexer->lookahead != '\n') { in scan_whitespace_and_comments()
27 } else if (lexer->lookahead == '*') { in scan_whitespace_and_comments()
29 while (lexer->lookahead != 0) { in scan_whitespace_and_comments()
30 if (lexer->lookahead == '*') { in scan_whitespace_and_comments()
32 if (lexer->lookahead == '/') { in scan_whitespace_and_comments()
55 switch (lexer->lookahead) { in external_scanner_scan()
91 switch (lexer->lookahead) { in external_scanner_scan()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-tsq/src/
H A Dparser.c383 ('0' <= lookahead && lookahead <= '9') || in ts_lex()
384 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
415 ('0' <= lookahead && lookahead <= '9') || in ts_lex()
416 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
422 ('0' <= lookahead && lookahead <= '9') || in ts_lex()
423 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
448 ('0' <= lookahead && lookahead <= '9') || in ts_lex()
449 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
475 ('0' <= lookahead && lookahead <= '9') || in ts_lex()
477 ('A' <= lookahead && lookahead <= 'Z') || in ts_lex()
[all …]
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-javascript/src/
H A Dscanner.c19 while (iswspace(lexer->lookahead)) { in scan_whitespace_and_comments()
23 if (lexer->lookahead == '/') { in scan_whitespace_and_comments()
26 if (lexer->lookahead == '/') { in scan_whitespace_and_comments()
28 while (lexer->lookahead != 0 && lexer->lookahead != '\n') { in scan_whitespace_and_comments()
33 while (lexer->lookahead != 0) { in scan_whitespace_and_comments()
34 if (lexer->lookahead == '*') { in scan_whitespace_and_comments()
60 switch (lexer->lookahead) { in tree_sitter_javascript_external_scanner_scan()
92 switch (lexer->lookahead) { in tree_sitter_javascript_external_scanner_scan()
114 return lexer->lookahead == '+'; in tree_sitter_javascript_external_scanner_scan()
117 return lexer->lookahead == '-'; in tree_sitter_javascript_external_scanner_scan()
[all …]

12345678910>>...158