Index of values


A
add [Quotation] add name exp adds the quotation name associated with the expander exp.
add_option [Pcaml] Add an option to the command line options.
apply [Extfun] Apply an extensible function

C
class_expr [Pcaml]
class_sig_item [Pcaml]
class_str_item [Pcaml]
class_type [Pcaml] Some grammar and entries of the language, set by pa_o.cmo and pa_r.cmo.
clear_entry [Grammar.S.Unsafe]
clear_entry [Grammar.Unsafe]
create [Grammar.S.Entry]
create [Grammar.Entry]
ctyp [Pcaml]

D
default [Quotation] default holds the default quotation name.
default_match [Token] A simple tok_match function for lexers, appling to token type (string * string)
delete_rule [Grammar.S]
dollar_for_antiquotation [Plexer] When True (default), the next call to Plexer.make () returns a lexer where the dollar sign is used for antiquotations.

E
empty [Extfun] Empty extensible function
error_verbose [Grammar] Flag for displaying more information in case of parsing error; default = False
eval_char [Token]
eval_string [Token] Convert a char or a string token, where the backslashes had not been interpreted into a real char or string; raise Failure if bad backslash sequence found; Token.eval_char (Char.escaped c) returns c and Token.eval_string (String.escaped s) returns s
expr [Pcaml]
expr_reloc [Pcaml]
extend [Grammar.S]

F
find [Quotation] find name returns the expander of the given quotation name.
find [Grammar.Entry]
find_pr_level [Pcaml]

G
gcreate [Grammar] Create a new grammar, without keywords, using the lexer given as parameter.
gmake [Plexer] Some lexer provided.
gram [Pcaml]
gram_reinit [Grammar.S.Unsafe]
gram_reinit [Grammar.Unsafe]

H
handle_expr_locate [Pcaml]
handle_expr_quotation [Pcaml]
handle_patt_locate [Pcaml]
handle_patt_quotation [Pcaml]

I
implem [Pcaml]
input_file [Pcaml] The file currently being parsed.
inter_phrases [Pcaml]
interf [Pcaml]

L
let_binding [Pcaml]
lexer [Grammar.GLexerType]
lexer_func_of_ocamllex [Token] A lexer function from a lexer created by ocamllex
lexer_func_of_parser [Token] A lexer function from a lexer written as a char stream parser returning the next token and its location.
lexer_text [Token] A simple tok_text function for lexers
line_of_loc [Stdpp] line_of_loc fname loc reads the file fname up to the location loc and returns the line number and the characters location in the line
loc_name [Stdpp] Name of the location variable used in grammars and in the predefined quotations for OCaml syntax trees.

M
make_stream_and_location [Token] General function
module_expr [Pcaml]
module_type [Pcaml]

N
name [Grammar.S.Entry]
name [Grammar.Entry]
no_assert [Pcaml] True: dont generate assertion checks.
no_constructors_arity [Pcaml] True: dont generate constructor arity.
no_quotations [Plexer] When True, all lexers built by Plexer.make () do not lex the quotation syntax any more.

O
obj [Grammar.S.Entry]
obj [Grammar.Entry]
of_entry [Grammar] Return the grammar associated with an entry.
of_parser [Grammar.S.Entry]
of_parser [Grammar.Entry]
output_file [Pcaml] The output file, stdout if None (default)

P
parsable [Grammar.S]
parse [Grammar.S.Entry]
parse [Grammar.Entry]
parse_implem [Pcaml]
parse_interf [Pcaml]
parse_token [Grammar.S.Entry]
parse_token [Grammar.Entry]
patt [Pcaml]
patt_reloc [Pcaml]
pr_class_str_item [Pcaml]
pr_ctyp [Pcaml]
pr_expr [Pcaml]
pr_expr_fun_args [Pcaml]
pr_patt [Pcaml]
pr_sig_item [Pcaml]
pr_str_item [Pcaml]
print [Extfun] Print patterns in the order they are recorded
print [Grammar.S.Entry]
print [Grammar.Entry]
print_entry [Grammar] General printer for all kinds of entries (obj entries)
print_implem [Pcaml] Some printers, set by pr_dump.cmo, pr_o.cmo and pr_r.cmo.
print_interf [Pcaml]

Q
quotation_dump_file [Pcaml] quotation_dump_file optionally tells the compiler to dump the result of an expander if this result is syntactically incorrect.

R
raise_with_loc [Stdpp] raise_with_loc loc e, if e is already the exception Exc_located, re-raise it, else raise the exception Exc_located loc e.
report_error [Pcaml] Prints an error message, using the module Format.

S
sig_item [Pcaml]
str_item [Pcaml]
strict_parsing [Grammar] Flag to apply strict parsing, without trying to recover errors; default = False
sync [Pcaml]

T
tokens [Grammar.S]
tokens [Grammar] Given a grammar and a token pattern constructor, returns the list of the corresponding values currently used in all entries of this grammar.
top_phrase [Pcaml]
top_printer [Pcaml]
translate [Quotation] function translating quotation names; default = identity

U
use_file [Pcaml]

V
version [Pcaml] The current version of Camlp4.

W
warning_verbose [Grammar] Flag for displaying warnings while extension; default = True