OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright 2005 Frerich Raabe <raabe@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 29 matching lines...) Expand all Loading... |
40 { | 40 { |
41 HashMap<String, String>& bindings = context.variableBindings; | 41 HashMap<String, String>& bindings = context.variableBindings; |
42 if (!bindings.contains(m_name)) { | 42 if (!bindings.contains(m_name)) { |
43 // FIXME: Is this the right thing to do if an unknown variable is | 43 // FIXME: Is this the right thing to do if an unknown variable is |
44 // referenced? | 44 // referenced? |
45 return ""; | 45 return ""; |
46 } | 46 } |
47 return bindings.get(m_name); | 47 return bindings.get(m_name); |
48 } | 48 } |
49 | 49 |
50 } | 50 } // namespace XPath |
51 } | 51 } // namespace blink |
OLD | NEW |