Vcsn  2.3
Be Rational
context-parser.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 #include <lib/vcsn/dyn/fwd.hh>
7 
8 namespace vcsn
9 {
10  namespace ast
11  {
13  std::shared_ptr<ast_node> parse_context(const std::string& ctx);
14 
16  std::shared_ptr<ast_node> parse_type(const std::string& type);
17  }
18 }
std::shared_ptr< ast_node > parse_type(const std::string &type)
Parse a type, and return its AST.
Definition: a-star.hh:8
std::shared_ptr< ast_node > parse_context(const std::string &ctx)
Parse a context, and return its AST.