Vcsn  2.8
Be Rational
caret.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <iosfwd>
4 
5 #include <vcsn/misc/location.hh>
6 
7 namespace vcsn
8 {
9  namespace detail
10  {
13  void print_caret(std::istream& in,
14  std::ostream& out, const rat::location& loc);
15 
18  std::string caret(std::istream& is, const rat::location& loc);
19  }
20 }
std::string caret(std::istream &is, const rat::location &loc)
Repeat a line with an error, underlining the error with carets.
Definition: caret.cc:47
vcsn::rat::location location
Pairs of positions in a file/stream.
Definition: fwd.hh:36
void print_caret(std::istream &is, std::ostream &os, const rat::location &loc)
Repeat a line with an error, underlining the error with carets.
Definition: caret.cc:40
Definition: a-star.hh:8
auto in(const Aut &aut, state_t_of< Aut > s)
Indexes of visible transitions arriving to state s.
Definition: automaton.hh:135
auto out(const Aut &aut, state_t_of< Aut > s)
Indexes of visible transitions leaving state s.
Definition: automaton.hh:86