Module mpc::mpc_c_types [] [src]

Contains a Rust representation of mpc's underlying C types that are exposed in the mpc.h header

Structs

mpc_ast_t

Representation of mpc's ast type in Rust

mpc_ast_trav_t

Traversal types

mpc_err_t

mpc's error type

mpc_parser_t

Parser type, implementation is hidden and very complex for me to represent it in Rust. Besides, it is really only needed to be used as a pointer

mpc_state_t

Contains information about position in a file

Enums

mpc_ast_trav_order_t

Traversal order

mpca_lang_type

mpca_lang grammar types

Type Definitions

mpc_apply_t

Apply function type

mpc_apply_to_t

'Apply to' function type

mpc_ctor_t

Constructor function type

mpc_dtor_t

Destructor function type

mpc_fold_t

Fold function type

mpc_val_t

mpc_val_t is an alias to void in C as well

parser_ptr

Shorthand for an ast pointer

Unions

mpc_result_t

Pointer to either error or ast, depends on the return value of mpc_parse() 1 => *mut mpc_ast_t