Home
last modified time | relevance | path

Searched refs:next_token (Results 1 – 25 of 27) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
Dbasic.rb20 token = lexer.next_token
23 token = lexer.next_token
38 token = lexer.next_token
62 token = lexer.next_token
65 token = lexer.next_token
68 token = lexer.next_token
75 b = lambda { token = lexer.next_token }
100 token = lexer.next_token
103 token = lexer.next_token
106 token = lexer.next_token
[all …]
Dsyn-pred.rb27 token = lexer.next_token
Dproperties.rb99 lexer.next_token
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c83 next_token( in next_token() function
100 next_token( ctx, &token ); in tgsi_parse_token()
110 next_token( ctx, &decl->Range ); in tgsi_parse_token()
113 next_token(ctx, &decl->Dim); in tgsi_parse_token()
117 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
136 next_token(ctx, &decl->Resource); in tgsi_parse_token()
140 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()
159 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
165 next_token(ctx, &imm->u[i].Uint); in tgsi_parse_token()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Dtokenutil.py133 next_token = token.next
134 if next_token:
135 if func(next_token):
136 return next_token
137 if end_func and end_func(next_token):
140 token = next_token
334 next_token = new_tokens[-1].next
335 while next_token:
336 next_token.line_number += 1
337 next_token = next_token.next
Dclosurizednamespacesinfo.py397 next_token = token
398 while next_token:
399 if (next_token.IsType(TokenType.IDENTIFIER) or
400 next_token.IsType(TokenType.NORMAL) and next_token.string == '.'):
401 result += next_token.string
402 elif (not next_token.IsType(TokenType.WHITESPACE) and
403 not next_token.IsAnyType(TokenType.COMMENT_TYPES)):
405 next_token = next_token.next
Djavascriptlintrules.py168 next_token = token.next
169 while next_token.type == Type.STRING_TEXT:
171 next_token.string):
173 next_token = next_token.next
202 next_token = token.next
203 if (not next_token or
204 (not is_file_overview and next_token.type in Type.NON_CODE_TYPES)):
210 next_token.type == Type.IDENTIFIER and
211 next_token.string in ['goog.provide', 'goog.require']):
Dstatetracker.py913 next_token = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES)
914 while next_token and next_token.IsType(Type.FUNCTION_NAME):
915 name += next_token.string
916 next_token = tokenutil.Search(next_token, Type.FUNCTION_NAME, 2)
929 next_token = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES)
930 if not next_token.IsType(Type.SEMICOLON):
952 next_token = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES)
953 if next_token.IsType(Type.SEMICOLON):
/external/openssh/openbsd-compat/
Drealpath.c59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath() local
93 if (s - left >= sizeof(next_token)) { in realpath()
97 memcpy(next_token, left, s - left); in realpath()
98 next_token[s - left] = '\0'; in realpath()
110 if (next_token[0] == '\0') in realpath()
112 else if (strcmp(next_token, ".") == 0) in realpath()
114 else if (strcmp(next_token, "..") == 0) { in realpath()
133 resolved_len = strlcat(resolved, next_token, PATH_MAX); in realpath()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb152 def next_token method in ANTLR3.AST.Wizard.PatternLexer
197 @token_type = tokenizer.next_token
215 @token_type = @tokenizer.next_token
230 @token_type = @tokenizer.next_token
237 ( @token_type = @tokenizer.next_token ) == :identifier or return nil
239 ( @token_type = @tokenizer.next_token ) == :colon or return nil
240 @token_type = @tokenizer.next_token
244 @token_type = @tokenizer.next_token
253 @token_type = @tokenizer.next_token
261 @token_type = @tokenizer.next_token
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py933 next_token = GetNextToken()
936 while (next_token.token_type == tokenize.NAME or
937 (next_token.token_type == tokenize.SYNTAX and
938 next_token.name in ('::', '<'))):
941 if last_token_was_name and next_token.token_type == tokenize.NAME:
943 last_token_was_name = next_token.token_type == tokenize.NAME
944 tokens.append(next_token)
946 if next_token.name == '<':
949 next_token = GetNextToken()
950 return tokens, next_token
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-tree-wizard.rb18 type = lexer.next_token
26 type = lexer.next_token
34 type = lexer.next_token
42 type = lexer.next_token
50 type = lexer.next_token
58 type = lexer.next_token
66 type = lexer.next_token
74 type = lexer.next_token
Dtest-recognizers.rb21 def next_token method in TestTokenSource.TestSource
Dtest-streams.rb249 def next_token method in TestCommonTokenStream.MockSource
/external/antlr/antlr-3.4/runtime/Perl5/t/
Dlexer.t39 while ((my $_ = $lexer->next_token())) {
66 my $token = $lexer->next_token();
118 while ((my $_ = $lexer->next_token())) {
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/
Dt.pl16 my $token = $lexer->next_token();
Dt-error.pl16 my $token = eval { $lexer->next_token(); };
/external/antlr/antlr-3.4/runtime/Perl5/examples/id/
Did.pl16 my $token = $lexer->next_token();
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
Dfilter.rb19 def next_token method
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DCommonTokenStream.pm78 my $t = $self->token_source->next_token();
101 $t = $self->token_source->next_token();
DLexer.pm48 sub next_token { method in ANTLR::Runtime::Lexer
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtoken.rb314 token = next_token()
321 while token = next_token and token.type != EOF
Dmain.rb329 token = lexer.next_token
/external/protobuf/gtest/scripts/
Dpump.py515 next_token = PeekToken(tokens)
516 if next_token.token_type == 'code':
517 sep_token = next_token
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py524 next_token = PeekToken(tokens)
525 if next_token.token_type == 'code':
526 sep_token = next_token

12