package coccinelle

  1. Overview
  2. Docs
type cppcommentkind = Token_c.cppcommentkind =
  1. | CppDirective
  2. | CppIfDirective of ifdef
  3. | CppAttr
  4. | CppMacro
  5. | CppPassingNormal
  6. | CppPassingCosWouldGetError
  7. | CppPassingExplicit
and ifdef = Token_c.ifdef =
  1. | IfDef
  2. | IfDef0
  3. | Else
  4. | Endif
  5. | Other
type info = Common.parse_info
type token = token_tag * info
and token_tag = Token_c.token_tag =
  1. | TCommentSpace
  2. | TCommentNewline
  3. | TComment
  4. | TCommentCpp of cppcommentkind
type comment_like_token = token
val info_of_token : ('a * 'b) -> 'b
val str_of_token : ('a * Common.parse_info) -> string
OCaml

Innovation. Community. Security.