Include file:
#include "mcrl2/atermpp/aterm_io_text.h
atermpp::
text_aterm_istream
¶Reads terms in textual format from an input stream.
atermpp::text_aterm_istream::
character
¶The last character that was read.
atermpp::text_aterm_istream::
m_column
¶The column of the current character.
atermpp::text_aterm_istream::
m_history
¶Stores the characters that have been read so-far.
atermpp::text_aterm_istream::
m_history_limit
¶Determines the maximum number of characters that are stored.
atermpp::text_aterm_istream::
m_line
¶The line number of the current character.
atermpp::text_aterm_istream::
m_stream
¶get
(aterm &t) overrideReads an aterm from this stream.
text_aterm_istream
(std::istream &os)¶next_char
(bool skip_whitespace = true, bool required = false)¶Returns: The first character that is not whitespace or end-of-file (EOF).
Parameters:
parse_aterm_appl
(const std::string &function_name, int &character)¶Parses an “f”(t0, …, tn) application as an aterm_appl.
parse_aterm_list
(int &character, char begin, char end)¶Parses a list of arguments […] as terms.
parse_quoted_string
(int &character)¶Reads a quoted string from the stream.
Returns: The parsed string and the first character after this string that is not whitespace.
parse_unquoted_string
(int &character)¶Reads an unquoted string from the stream.
print_parse_error_position
()¶Returns: A string indicating the parse error position.