Home
last modified time | relevance | path

Searched refs:new_token (Results 1 – 10 of 10) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-trees.rb163 r0 = new_node new_token(101)
164 r1 = new_node new_token(102)
166 r1.add_child(new_node new_token(103))
167 r2 = new_node new_token(106)
168 r2.add_child new_node( new_token 107 )
170 r0.add_child new_node( new_token 104 )
171 r0.add_child new_node( new_token 105 )
189 r0 = new_node new_token(101)
190 r1 = new_node new_token(102)
192 r1.add_child new_node( new_token 103 )
[all …]
Dtest-streams.rb264 @source2.tokens << new_token( 10, :channel => ANTLR3::HIDDEN ) << new_token( 11 )
284 @source.tokens << new_token(12)
292 @source.tokens << new_token(12, :channel => ANTLR3::HIDDEN_CHANNEL) <<
293 new_token(13)
300 @source.tokens << new_token(12) <<
301 new_token(13, :channel => ANTLR3::HIDDEN_CHANNEL)
309 @source.tokens << new_token(12) << new_token(13)
318 @source.tokens << new_token(12) << new_token(13)
328 @source.tokens << new_token(12) << new_token(13)
335 @source.tokens << new_token(10) <<
[all …]
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dtokenutil.py241 def InsertTokenAfter(new_token, token): argument
248 new_token.previous = token
249 new_token.next = token.next
251 new_token.metadata = copy.copy(token.metadata)
254 new_token.metadata.last_code = token
256 if new_token.IsCode():
259 following_token.metadata.last_code = new_token
262 token.next = new_token
263 if new_token.next:
264 new_token.next.previous = new_token
[all …]
Derror_fixer.py236 new_token = Token('{', Type.DOC_START_BRACE, start_token.line,
238 tokenutil.InsertTokenAfter(new_token, start_token.previous)
239 token.attached_object.type_start_token = new_token
240 fixed_tokens.append(new_token)
264 new_token = Token('}', Type.DOC_END_BRACE, last_type.line,
266 tokenutil.InsertTokenAfter(new_token, last_type)
267 token.attached_object.type_end_token = new_token
268 fixed_tokens.append(new_token)
313 new_token = Token(' ' * expected, Type.WHITESPACE,
318 tokenutil.InsertTokenAfter(new_token, token.previous)
/external/chromium/chrome/common/net/gaia/
Dgaia_auth_consumer.cc14 const std::string& new_token, in ClientLoginResult() argument
18 token(new_token), in ClientLoginResult()
Dgaia_auth_consumer.h21 const std::string& new_token,
/external/chromium/chrome/browser/sync/engine/
Dsyncer_proto_util.cc160 std::string new_token = http_response.update_client_auth_header; in PostAndProcessHeaders() local
161 if (!new_token.empty()) { in PostAndProcessHeaders()
163 event.updated_token = new_token; in PostAndProcessHeaders()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php514 $new_token = $this->data_store->new_request_token($consumer, $callback);
516 return $new_token;
535 $new_token = $this->data_store->new_access_token($token, $consumer, $verifier);
537 return $new_token;
/external/mesa3d/src/glsl/glcpp/
Dglcpp-parse.y1340 token_t *new_token; in _glcpp_parser_expand_function() local
1342 new_token = _token_create_ival (substituted, in _glcpp_parser_expand_function()
1345 _token_list_append (substituted, new_token); in _glcpp_parser_expand_function()
Dglcpp-parse.c3665 token_t *new_token; in _glcpp_parser_expand_function() local
3667 new_token = _token_create_ival (substituted, in _glcpp_parser_expand_function()
3670 _token_list_append (substituted, new_token); in _glcpp_parser_expand_function()