package mopsa

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Preprocessor for expanding macros

val debug : ('a, Format.formatter, unit, unit) format4 -> 'b
val pp_token : Format.formatter -> Parsing.Parser.token -> unit
val pp_token_list : Format.formatter -> Parsing.Parser.token list -> unit
val next_token : ?ret2caller:bool -> ('a -> Parsing.Parser.token) -> 'b -> Parsing.Parser.token
val tokenize_string : (Lexing.lexbuf -> Parsing.Parser.token) -> string -> Parsing.Parser.token list
val add_parenthesis : Parsing.Parser.token list -> Parsing.Parser.token list
exception AliasFound of string
val parse_directive : ('a -> Parsing.Parser.token) -> 'b -> 'c
type predicate = {
  1. pred_name : string;
  2. pred_params : string list;
  3. pred_body : Parsing.Parser.token list;
}
val parse_predicate : ('a -> Parsing.Parser.token) -> 'b -> predicate option
val parse_predicates : ('a -> Parsing.Parser.token) -> 'b -> predicate list
val predicate_to_macro : predicate -> Mopsa_c_parser.Clang_AST.macro
OCaml

Innovation. Community. Security.