package FrontC

  1. Overview
  2. Docs
Parses C programs to an abstract syntax tree

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.0.tar.gz
sha256=f70063a72a39cb9192069ce3b1a20dd28f7e1c2ef6a56bbfbf7079533f2210e4
md5=08e58fa6c9eb311b03c0b85d74d2e256

doc/FrontC/Clexer/index.html

Module ClexerSource

Sourceexception Eof
Sourceexception InternalError of string
Sourceval version : string
Sourcetype handle = {
  1. h_interactive : bool;
  2. h_in_channel : in_channel;
  3. mutable h_line : string;
  4. mutable h_buffer : string;
  5. mutable h_pos : int;
  6. mutable h_lineno : int;
  7. h_out_channel : out_channel;
  8. mutable h_file_name : string;
  9. h_gcc : bool;
  10. h_linerec : bool;
}
Sourceval current_handle : handle ref
Sourceval interactive : handle -> bool
Sourceval in_channel : handle -> in_channel
Sourceval buffer : handle -> string
Sourceval pos : handle -> int
Sourceval real_pos : int -> handle -> int
Sourceval lineno : handle -> int
Sourceval out_channel : handle -> out_channel
Sourceval file_name : handle -> string
Sourceval linerec : handle -> bool
Sourceval curfile : 'a -> string
Sourceval curline : 'a -> int
Sourceval has_gcc : 'a -> bool
Sourceval underline_error : string -> int -> int -> string
Sourceval display_error : string -> int -> int -> unit
Sourceval display_semantic_error : string -> unit
Sourceval error : string -> 'a
Sourceval test_gcc : 'a -> unit
Sourceval id : 'a -> 'b -> 'a
Sourcemodule HashString : sig ... end
Sourcemodule StringHashtbl : sig ... end
Sourceval lexicon : (unit -> Ctokens.token) StringHashtbl.t
Sourceval builtin : string -> string * ('a -> Ctokens.token)
Sourceval keywords : (string * (unit -> Ctokens.token)) list
Sourceval gnu_keywords : (string * (unit -> Ctokens.token)) list
Sourceval init_lexicon : 'a -> unit
Sourceval add_type : StringHashtbl.key -> unit
Sourceval context : string list list ref
Sourceval push_context : 'a -> unit
Sourceval pop_context : 'a -> unit
Sourceval add_identifier : StringHashtbl.key -> unit
Sourceval rem_quotes : string -> string
Sourceval set_line : int -> unit
Sourceval set_name : string -> unit
Sourceval scan_escape : string -> string
Sourceval get_value : char -> int
Sourceval scan_hex_escape : string -> string
Sourceval scan_oct_escape : string -> string
Sourceval __ocaml_lex_tables : Lexing.lex_tables
Sourceval __ocaml_lex_initial_rec : Lexing.lexbuf -> int -> Ctokens.token
Sourceval comment : Lexing.lexbuf -> unit
Sourceval __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> unit
Sourceval line_comment : Lexing.lexbuf -> unit
Sourceval __ocaml_lex_line_comment_rec : Lexing.lexbuf -> int -> unit
Sourceval __ocaml_lex_line_rec : Lexing.lexbuf -> int -> Ctokens.token
Sourceval __ocaml_lex_file_rec : Lexing.lexbuf -> int -> Ctokens.token
Sourceval __ocaml_lex_endline_rec : Lexing.lexbuf -> int -> Ctokens.token
Sourceval str : Lexing.lexbuf -> string
Sourceval __ocaml_lex_str_rec : Lexing.lexbuf -> int -> string
Sourceval chr : Lexing.lexbuf -> string
Sourceval __ocaml_lex_chr_rec : Lexing.lexbuf -> int -> string
Sourceval get_buffer : handle ref -> bytes -> int -> int
Sourceval init : handle -> unit
OCaml

Innovation. Community. Security.