| 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 23 matching lines...) Expand all Loading... |
| 34 #include "core/xml/XPathNSResolver.h" | 34 #include "core/xml/XPathNSResolver.h" |
| 35 #include "core/xml/XPathPath.h" | 35 #include "core/xml/XPathPath.h" |
| 36 #include "wtf/StdLibExtras.h" | 36 #include "wtf/StdLibExtras.h" |
| 37 #include "wtf/text/StringHash.h" | 37 #include "wtf/text/StringHash.h" |
| 38 | 38 |
| 39 using namespace WebCore; | 39 using namespace WebCore; |
| 40 using namespace WTF; | 40 using namespace WTF; |
| 41 using namespace Unicode; | 41 using namespace Unicode; |
| 42 using namespace XPath; | 42 using namespace XPath; |
| 43 | 43 |
| 44 #include "XPathGrammar.h" | 44 #include "core/XPathGrammar.h" |
| 45 | 45 |
| 46 Parser* Parser::currentParser = 0; | 46 Parser* Parser::currentParser = 0; |
| 47 | 47 |
| 48 enum XMLCat { NameStart, NameCont, NotPartOfName }; | 48 enum XMLCat { NameStart, NameCont, NotPartOfName }; |
| 49 | 49 |
| 50 typedef HashMap<String, Step::Axis> AxisNamesMap; | 50 typedef HashMap<String, Step::Axis> AxisNamesMap; |
| 51 | 51 |
| 52 static XMLCat charCat(UChar aChar) | 52 static XMLCat charCat(UChar aChar) |
| 53 { | 53 { |
| 54 //### might need to add some special cases from the XML spec. | 54 //### might need to add some special cases from the XML spec. |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 #if !ENABLE(OILPAN) | 630 #if !ENABLE(OILPAN) |
| 631 if (t == 0) | 631 if (t == 0) |
| 632 return; | 632 return; |
| 633 | 633 |
| 634 ASSERT(m_nodeTests.contains(t)); | 634 ASSERT(m_nodeTests.contains(t)); |
| 635 | 635 |
| 636 m_nodeTests.remove(t); | 636 m_nodeTests.remove(t); |
| 637 #endif | 637 #endif |
| 638 } | 638 } |
| 639 | 639 |
| OLD | NEW |