Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: Source/core/xml/XPathGrammar.y

Issue 1259563002: Revert of Precompile more in Blink in Windows for faster compilations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/win/precompile-core.gypi ('k') | Source/modules/modules.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 LocationPath 384 LocationPath
385 { 385 {
386 $$ = $1; 386 $$ = $1;
387 } 387 }
388 | 388 |
389 FilterExpr 389 FilterExpr
390 | 390 |
391 FilterExpr '/' RelativeLocationPath 391 FilterExpr '/' RelativeLocationPath
392 { 392 {
393 $3->setAbsolute(true); 393 $3->setAbsolute(true);
394 $$ = new blink::XPath::Path($1, $3); 394 $$ = new Path($1, $3);
395 } 395 }
396 | 396 |
397 FilterExpr DescendantOrSelf RelativeLocationPath 397 FilterExpr DescendantOrSelf RelativeLocationPath
398 { 398 {
399 $3->insertFirstStep($2); 399 $3->insertFirstStep($2);
400 $3->setAbsolute(true); 400 $3->setAbsolute(true);
401 $$ = new blink::XPath::Path($1, $3); 401 $$ = new Path($1, $3);
402 } 402 }
403 ; 403 ;
404 404
405 FilterExpr: 405 FilterExpr:
406 PrimaryExpr 406 PrimaryExpr
407 | 407 |
408 PrimaryExpr PredicateList 408 PrimaryExpr PredicateList
409 { 409 {
410 $$ = new blink::XPath::Filter($1, *$2); 410 $$ = new Filter($1, *$2);
411 } 411 }
412 ; 412 ;
413 413
414 OrExpr: 414 OrExpr:
415 AndExpr 415 AndExpr
416 | 416 |
417 OrExpr OR AndExpr 417 OrExpr OR AndExpr
418 { 418 {
419 $$ = new LogicalOp(LogicalOp::OP_Or, $1, $3); 419 $$ = new LogicalOp(LogicalOp::OP_Or, $1, $3);
420 } 420 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 UnionExpr 474 UnionExpr
475 | 475 |
476 MINUS UnaryExpr 476 MINUS UnaryExpr
477 { 477 {
478 $$ = new Negative; 478 $$ = new Negative;
479 $$->addSubExpression($2); 479 $$->addSubExpression($2);
480 } 480 }
481 ; 481 ;
482 482
483 %% 483 %%
OLDNEW
« no previous file with comments | « Source/core/win/precompile-core.gypi ('k') | Source/modules/modules.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698