end_of_position p returns the end of a position p.
end_of_position p
p
filename_of_position p returns the filename of a position p.
filename_of_position p
load_binary_cst cin retrieves a serialized CST from input_channel cin.
load_binary_cst cin
cin
load_json_cst cin retrieves a CST in JSON format from input_channel cin.
load_json_cst cin
on_located f applies f on a located value, preserving its location.
on_located f
f
parse_file filename performs the syntactic analysis of filename and returns a concrete syntax tree if filename content is syntactically correct.
parse_file filename
filename
parse_string filename content is similar to parse_file except the script source code is provided as a string.
parse_string filename content
parse_file
remove_quotes s yields a copy of string s, with all quotes removed as described in the POSIX specification.
remove_quotes s
s
save_binary_cst cout cst stores a serialized cst in cout.
save_binary_cst cout cst
cst
cout
save_dot_cst cout cst stores a cst using DOT format in cout.
save_dot_cst cout cst
save_json_cst cout cst stores a cst using JSON format in cout.
save_json_cst cout cst
start_of_position p returns the beginning of a position p.
start_of_position p
Returns a human-readable representation of Morbig's errors.
string_of_lexing_position p returns a human-readable representation of the lexing position p, using a format recognized by Emacs, and other decent editors.
string_of_lexing_position p