Awali
Another Weighted Automata library
Functions
awali::json_ast Namespace Reference

Functions

json_ast_t empty ()
 Builds an empty json_ast_t. More...
 
json_ast_t from (std::istream &i)
 Builds a json_ast_t from an input stream. More...
 
json_ast_t from_file (std::string const &filename)
 Reads json_tree from given file. More...
 
json_ast_t from_string_map (std::map< std::string, std::string > const &map)
 This function serves to build metadata extra informations. More...
 

Function Documentation

◆ empty()

json_ast_t awali::json_ast::empty ( )

Builds an empty json_ast_t.

◆ from()

json_ast_t awali::json_ast::from ( std::istream &  i)

Builds a json_ast_t from an input stream.

◆ from_file()

json_ast_t awali::json_ast::from_file ( std::string const &  filename)

Reads json_tree from given file.

This is a low-level function, and expects a valid path (relative or * absolute) without verifications. In particular, it does not look to example automata and expression.

◆ from_string_map()

json_ast_t awali::json_ast::from_string_map ( std::map< std::string, std::string > const &  map)

This function serves to build metadata extra informations.