2 input.hh -- declare Input
4 source file of the LilyPond music typesetter
6 (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
12 #include "flower-proto.hh"
15 Base class for anything that records its poisition in the parse file.
21 Source_file * source_file_;
23 void warning (String) const; // should use member func?
24 void non_fatal_error (String) const;
25 void error (String) const;
26 void message (String) const;
27 void set_spot (Input const &);
29 void set_location (Input const &, Input const &);
31 String location_string () const;
32 String line_number_string () const;
35 String file_string ()const;
36 int line_number ()const;
37 int column_number ()const;
38 int end_line_number ()const;
39 int end_column_number ()const;
42 Input (Input const &i);