package diffast-langs-fortran-parsing

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

Module Ast.PartialSource

Sourcetype spec = {
  1. mutable length : int;
  2. mutable tag : C.tag;
}
Sourceval spec_to_string : spec -> string
Sourceval length_of_spec : spec -> int
Sourceval tag_of_spec : spec -> C.tag
Sourceval mkspec : ?length:int -> ?tag:C.tag -> unit -> spec
Sourcetype t =
  1. | Dummy of spec * node list
  2. | Program of spec * node list
  3. | ProgramUnit of spec * node
  4. | Spec_Exec of spec * node option * node option
  5. | SpecificationPart of spec * node list
  6. | ExecutionPart of spec * node list
  7. | Subprograms of spec * node list
  8. | InterfaceSpec of spec * node list
  9. | CaseBlock of spec * node list
  10. | AssignmentStmt of spec * node
  11. | TypeDeclarationStmt of spec * node
  12. | FunctionStmt of spec * node
  13. | Variable of spec * node
  14. | Expr of spec * node
  15. | Stmts of spec * node list
  16. | DataStmtSets of spec * node list
  17. | TypeSpec of spec * node
  18. | ActionStmt of spec * node
  19. | DerivedTypeDefPart of spec * node list
  20. | Onlys of spec * node list
  21. | TypeBoundProcPart of spec * node list
  22. | FunctionHead of spec * node list
  23. | SubroutineHead of spec * node list
  24. | SubroutineStmtHead of spec * node
  25. | FunctionStmtHead of spec * node
  26. | PuTail of spec * node list
Sourceval to_string : t -> string
Sourceval get_spec : t -> spec
Sourceval set_length : t -> int -> unit
Sourceval set_tag : t -> C.tag -> unit
Sourceval mk_dummy : ?length:int -> node list -> t
Sourceval mk_program : ?length:int -> node list -> t
Sourceval mk_program_unit : ?length:int -> node -> t
Sourceval mk_spec_exec : ?length:int -> node option -> node option -> t
Sourceval mk_specification_part : ?length:int -> node list -> t
Sourceval mk_execution_part : ?length:int -> node list -> t
Sourceval mk_subprograms : ?length:int -> node list -> t
Sourceval mk_interface_spec : ?length:int -> node list -> t
Sourceval mk_case_block : ?length:int -> node list -> t
Sourceval mk_assignment_stmt : ?length:int -> node -> t
Sourceval mk_type_declaration_stmt : ?length:int -> node -> t
Sourceval mk_function_stmt : ?length:int -> node -> t
Sourceval mk_variable : ?length:int -> node -> t
Sourceval mk_expr : ?length:int -> node -> t
Sourceval mk_stmts : ?length:int -> node list -> t
Sourceval mk_data_stmt_sets : ?length:int -> node list -> t
Sourceval mk_type_spec : ?length:int -> node -> t
Sourceval mk_action_stmt : ?length:int -> node -> t
Sourceval mk_derived_type_def_part : ?length:int -> node list -> t
Sourceval mk_onlys : ?length:int -> node list -> t
Sourceval mk_type_bound_proc_part : ?length:int -> node list -> t
Sourceval mk_function_head : ?length:int -> node list -> t
Sourceval mk_function_stmt_head : ?length:int -> node -> t
Sourceval mk_subroutine_head : ?length:int -> node list -> t
Sourceval mk_subroutine_stmt_head : ?length:int -> node -> t
Sourceval mk_pu_tail : ?length:int -> node list -> t
Sourceval get_nodes : t -> node list
OCaml

Innovation. Community. Security.