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 24 matching lines...) Expand all Loading... |
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 Parser; | 44 class Parser; |
45 class Predicate; | |
46 | 45 |
47 struct Token { | 46 struct Token { |
48 STACK_ALLOCATED(); | 47 STACK_ALLOCATED(); |
49 int type; | 48 int type; |
50 String str; | 49 String str; |
51 Step::Axis axis; | 50 Step::Axis axis; |
52 NumericOp::Opcode numop; | 51 NumericOp::Opcode numop; |
53 EqTestOp::Opcode eqop; | 52 EqTestOp::Opcode eqop; |
54 | 53 |
55 Token(int t) : type(t) {} | 54 Token(int t) : type(t) {} |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 114 |
116 HashSet<std::unique_ptr<String>> m_strings; | 115 HashSet<std::unique_ptr<String>> m_strings; |
117 }; | 116 }; |
118 | 117 |
119 } // namespace XPath | 118 } // namespace XPath |
120 | 119 |
121 } // namespace blink | 120 } // namespace blink |
122 | 121 |
123 int xpathyyparse(blink::XPath::Parser*); | 122 int xpathyyparse(blink::XPath::Parser*); |
124 #endif | 123 #endif |
OLD | NEW |