Debian Codegraph @

deps/ada-toml/src/toml-generic_parse.ads

raw
1 generic
2 type Input_Stream (<>) is limited private;
3 -- Stream of bytes
4
5 with procedure Get (Stream : in out Input_Stream;
6 EOF : out Boolean;
7 Byte : out Character) is <>;
8 -- Try to read a byte from Stream. If the end of Stream was reached before
9 -- we could read such a byte, just set EOF to True. Otherwise, set it to
10 -- False and put the read character to Byte.
11
12 Tab_Stop : Positive := 8;
13 -- Maximal number of columns that tab characters (0x09) skip
14
15 function TOML.Generic_Parse
16 (Stream : in out Input_Stream) return TOML.Read_Result
17 with Preelaborate;
18 -- Read a TOML document from Stream and return the corresponding value