| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> | 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 if (namespaceURI.isNull()) | 456 if (namespaceURI.isNull()) |
| 457 return false; | 457 return false; |
| 458 localName = AtomicString(qName.substring(colon + 1)); | 458 localName = AtomicString(qName.substring(colon + 1)); |
| 459 } else { | 459 } else { |
| 460 localName = AtomicString(qName); | 460 localName = AtomicString(qName); |
| 461 } | 461 } |
| 462 | 462 |
| 463 return true; | 463 return true; |
| 464 } | 464 } |
| 465 | 465 |
| 466 Expression* Parser::parseStatement(const String& statement, PassRefPtr<XPathNSRe
solver> resolver, ExceptionState& exceptionState) | 466 Expression* Parser::parseStatement(const String& statement, PassRefPtrWillBeRawP
tr<XPathNSResolver> resolver, ExceptionState& exceptionState) |
| 467 { | 467 { |
| 468 reset(statement); | 468 reset(statement); |
| 469 | 469 |
| 470 m_resolver = resolver; | 470 m_resolver = resolver; |
| 471 | 471 |
| 472 Parser* oldParser = currentParser; | 472 Parser* oldParser = currentParser; |
| 473 currentParser = this; | 473 currentParser = this; |
| 474 int parseError = xpathyyparse(this); | 474 int parseError = xpathyyparse(this); |
| 475 currentParser = oldParser; | 475 currentParser = oldParser; |
| 476 | 476 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 { | 615 { |
| 616 if (t == 0) | 616 if (t == 0) |
| 617 return; | 617 return; |
| 618 | 618 |
| 619 ASSERT(m_nodeTests.contains(t)); | 619 ASSERT(m_nodeTests.contains(t)); |
| 620 | 620 |
| 621 m_nodeTests.remove(t); | 621 m_nodeTests.remove(t); |
| 622 delete t; | 622 delete t; |
| 623 } | 623 } |
| 624 | 624 |
| OLD | NEW |