diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-27 20:05:06 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-27 20:05:06 +0000 |
commit | aeaa1da161f79d328f05c5a40708a9e61ca45c46 (patch) | |
tree | 8a8558f19f372ce5adb3facf9c82f00081151491 /src/pugixpath.cpp | |
parent | 1b337b51e0bcd95303d048ec12f12c32b9c26bd6 (diff) |
Renamed encoding_t to xml_encoding, renamed xpath_type_t to xpath_value_type
git-svn-id: http://pugixml.googlecode.com/svn/trunk@544 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 89c24cd..5248555 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -1315,7 +1315,7 @@ namespace pugi private:
ast_type_t m_type;
- xpath_type_t m_rettype;
+ xpath_value_type m_rettype;
// tree node structure
xpath_ast_node* m_left;
@@ -1336,7 +1336,7 @@ namespace pugi template <class Comp> static bool compare_eq(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp)
{
- xpath_type_t lt = lhs->rettype(), rt = rhs->rettype();
+ xpath_value_type lt = lhs->rettype(), rt = rhs->rettype();
if (lt != xpath_type_node_set && rt != xpath_type_node_set)
{
@@ -1405,7 +1405,7 @@ namespace pugi template <class Comp> static bool compare_rel(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp)
{
- xpath_type_t lt = lhs->rettype(), rt = rhs->rettype();
+ xpath_value_type lt = lhs->rettype(), rt = rhs->rettype();
if (lt != xpath_type_node_set && rt != xpath_type_node_set)
return comp(lhs->eval_number(c), rhs->eval_number(c));
@@ -1955,7 +1955,7 @@ namespace pugi else m_contents = 0;
}
public:
- xpath_ast_node(ast_type_t type, xpath_type_t rettype, const xpath_lexer_string& contents, xpath_allocator& a):
+ xpath_ast_node(ast_type_t type, xpath_value_type rettype, const xpath_lexer_string& contents, xpath_allocator& a):
m_type(type), m_rettype(rettype), m_left(0), m_right(0), m_third(0), m_next(0), m_contents(0),
m_axis(axis_self), m_test(nodetest_none)
{
@@ -1968,7 +1968,7 @@ namespace pugi {
}
- xpath_ast_node(ast_type_t type, xpath_type_t rettype, xpath_ast_node* left = 0, xpath_ast_node* right = 0, xpath_ast_node* third = 0):
+ xpath_ast_node(ast_type_t type, xpath_value_type rettype, xpath_ast_node* left = 0, xpath_ast_node* right = 0, xpath_ast_node* third = 0):
m_type(type), m_rettype(rettype), m_left(left), m_right(right), m_third(third), m_next(0), m_contents(0),
m_axis(axis_self), m_test(nodetest_none)
{
@@ -2608,7 +2608,7 @@ namespace pugi }
}
- xpath_type_t rettype() const
+ xpath_value_type rettype() const
{
return m_rettype;
}
@@ -3429,7 +3429,7 @@ namespace pugi m_root = p.parse();
}
- xpath_type_t xpath_query::return_type() const
+ xpath_value_type xpath_query::return_type() const
{
if (!m_root) return xpath_type_none;
|