| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org> |
| 3 * Copyright (C) 2006, 2009 Apple Inc. | 3 * Copyright (C) 2006, 2009 Apple 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 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 namespace XPath { | 38 namespace XPath { |
| 39 | 39 |
| 40 struct EvaluationContext { | 40 struct EvaluationContext { |
| 41 STACK_ALLOCATED(); | 41 STACK_ALLOCATED(); |
| 42 public: | 42 public: |
| 43 explicit EvaluationContext(Node&); | 43 explicit EvaluationContext(Node&); |
| 44 | 44 |
| 45 RefPtrWillBeMember<Node> node; | 45 Member<Node> node; |
| 46 unsigned long size; | 46 unsigned long size; |
| 47 unsigned long position; | 47 unsigned long position; |
| 48 HashMap<String, String> variableBindings; | 48 HashMap<String, String> variableBindings; |
| 49 | 49 |
| 50 bool hadTypeConversionError; | 50 bool hadTypeConversionError; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 class ParseNode : public GarbageCollectedFinalized<ParseNode> { | 53 class ParseNode : public GarbageCollectedFinalized<ParseNode> { |
| 54 public: | 54 public: |
| 55 virtual ~ParseNode() { } | 55 virtual ~ParseNode() { } |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 bool m_isContextNodeSensitive; | 94 bool m_isContextNodeSensitive; |
| 95 bool m_isContextPositionSensitive; | 95 bool m_isContextPositionSensitive; |
| 96 bool m_isContextSizeSensitive; | 96 bool m_isContextSizeSensitive; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace XPath | 99 } // namespace XPath |
| 100 | 100 |
| 101 } // namespace blink | 101 } // namespace blink |
| 102 | 102 |
| 103 #endif // XPathExpressionNode_h | 103 #endif // XPathExpressionNode_h |
| OLD | NEW |