/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-trees.rb | 163 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 302 def new_token(type, opts = {}) method in class:TestTreeNodeStream 446 def new_token(type, opts = {}) method in class:TestCommonTreeNodeStream 782 def new_token(type, opts = {}) method in class:TestCommonTree [all...] |
test-streams.rb | 264 @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 404 def new_token(type, opts = {}) method in class:TestCommonTokenStream [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
tokenutil.py | 241 def InsertTokenAfter(new_token, token): 242 """Insert new_token after token. 245 new_token: A token to be added to the stream 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 [all...] |
error_fixer.py | 236 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 [all...] |
/external/chromium/chrome/common/net/gaia/ |
gaia_auth_consumer.cc | 14 const std::string& new_token, 18 token(new_token),
|
gaia_auth_consumer.h | 21 const std::string& new_token,
|
/external/chromium/chrome/browser/sync/engine/ |
syncer_proto_util.cc | 160 std::string new_token = http_response.update_client_auth_header; local 161 if (!new_token.empty()) { 163 event.updated_token = new_token;
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/ |
OAuth.php | 514 $new_token = $this->data_store->new_request_token($consumer, $callback); variable 516 return $new_token; 535 $new_token = $this->data_store->new_access_token($token, $consumer, $verifier); variable 537 return $new_token;
|