x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
parse_tree_utils.hpp - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\spirit\tree\parse_tree_utils.hpp
Girar
Efecto
Propiedad
Historial
/*============================================================================= Copyright (c) 2001-2003 Daniel Nuffer Copyright (c) 2001-2007 Hartmut Kaiser http://spirit.sourceforge.net/ Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #if !defined(PARSE_TREE_UTILS_HPP) #define PARSE_TREE_UTILS_HPP #include
// for std::pair #include
// needed for parse tree generation /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace spirit { /////////////////////////////////////////////////////////////////////////////// // // The function 'get_first_leaf' returnes a reference to the first leaf node // of the given parsetree. // /////////////////////////////////////////////////////////////////////////////// template
tree_node
const & get_first_leaf (tree_node
const &node); /////////////////////////////////////////////////////////////////////////////// // // The function 'find_node' finds a specified node through recursive search. // If the return value is true, the variable to which points the parameter // 'found_node' will contain the address of the node with the given rule_id. // /////////////////////////////////////////////////////////////////////////////// template
bool find_node (tree_node
const &node, parser_id node_to_search, tree_node
const **found_node); /////////////////////////////////////////////////////////////////////////////// // // The function 'get_node_range' return a pair of iterators pointing at the // range, which containes the elements of a specified node. It's very useful // for locating all information related with a specified node. // /////////////////////////////////////////////////////////////////////////////// template
bool get_node_range (tree_node
const &node, parser_id node_to_search, std::pair
::const_tree_iterator, typename tree_node
::const_tree_iterator> &nodes); /////////////////////////////////////////////////////////////////////////////// } // namespace spirit } // namespace boost #include "boost/spirit/tree/impl/parse_tree_utils.ipp" #endif // !defined(PARSE_TREE_UTILS_HPP)
parse_tree_utils.hpp
Dirección de la página
Dirección del archivo
Anterior
7/10
Siguiente
Descargar
( 2 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.