| 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class ExceptionState; | 37 class ExceptionState; |
| 38 class XPathNSResolver; | 38 class XPathNSResolver; |
| 39 | 39 |
| 40 namespace XPath { | 40 namespace XPath { |
| 41 | 41 |
| 42 class Expression; | 42 class Expression; |
| 43 class LocationPath; | 43 class LocationPath; |
| 44 class ParseNode; | |
| 45 class Parser; | 44 class Parser; |
| 46 class Predicate; | 45 class Predicate; |
| 47 | 46 |
| 48 struct Token { | 47 struct Token { |
| 49 STACK_ALLOCATED(); | 48 STACK_ALLOCATED(); |
| 50 int type; | 49 int type; |
| 51 String str; | 50 String str; |
| 52 Step::Axis axis; | 51 Step::Axis axis; |
| 53 NumericOp::Opcode numop; | 52 NumericOp::Opcode numop; |
| 54 EqTestOp::Opcode eqop; | 53 EqTestOp::Opcode eqop; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 115 |
| 117 HashSet<std::unique_ptr<String>> m_strings; | 116 HashSet<std::unique_ptr<String>> m_strings; |
| 118 }; | 117 }; |
| 119 | 118 |
| 120 } // namespace XPath | 119 } // namespace XPath |
| 121 | 120 |
| 122 } // namespace blink | 121 } // namespace blink |
| 123 | 122 |
| 124 int xpathyyparse(blink::XPath::Parser*); | 123 int xpathyyparse(blink::XPath::Parser*); |
| 125 #endif | 124 #endif |
| OLD | NEW |