package diffast-langs-python

  1. Overview
  2. Docs

Module Python_base.Py_labelSource

module Xset = Diffast_misc.Xset
module Xlist = Diffast_misc.Xlist
module XML = Diffast_misc.XML
module Loc = Diffast_misc.Loc
module Astml = Diffast_core.Astml
module Lang_base = Diffast_core.Lang_base
module Charpool = Diffast_core.Charpool
Sourcetype name = string
Sourceval lang_prefix : string
Sourceval operator_attr_name : string
Sourceval sprintf : ('a, unit, string) format -> 'a
Sourceval keyroot_depth_min : int
Sourceval null_tid : string * string
Sourceval mktid : 'a -> 'b -> 'a * 'b
Sourceval tid_to_string : (string * string) -> string
Sourceval anonymize_tid : ?more:bool -> Lang_base.tie_id -> string * string
Sourceval mktidattr : Lang_base.tie_id -> (string * string) list
Sourceval conv_loc : Ast.Loc.t -> Loc.t
Sourceval conv_name : ('a * 'b) -> 'b
Sourceval loc_of_name : ('a * 'b) -> 'a
Sourceval dottedname_to_string : ('a * string) list -> string
Sourcemodule Literal : sig ... end
Sourcemodule AssignmentOperator : sig ... end
Sourcemodule UnaryOperator : sig ... end
Sourcemodule BinaryOperator : sig ... end
Sourcemodule Statement : sig ... end
Sourcemodule SimpleStatement : sig ... end
Sourcemodule Primary : sig ... end
Sourcetype annotation = string option
Sourceval null_annotation : 'a option
Sourceval annotation_to_string : string option -> string
Sourcetype t =
  1. | Dummy
  2. | ERROR
  3. | Comment of string
  4. | FileInput of name
  5. | DottedName of string
  6. | Name of name
  7. | Lambda
  8. | Test
  9. | Power
  10. | Primary of Primary.t
  11. | UnaryOperator of UnaryOperator.t
  12. | BinaryOperator of BinaryOperator.t
  13. | Statement of Statement.t
  14. | SimpleStatement of SimpleStatement.t
  15. | Elif of tie_id
  16. | Else
  17. | Targets
  18. | Target
  19. | Except
  20. | Suite
  21. | NamedSuite of name
  22. | Parameters
  23. | NamedParameters of name
  24. | Decorators of name
  25. | Decorator of name
  26. | Finally
  27. | In
  28. | Yield
  29. | LHS
  30. | RHS
  31. | As
  32. | ListIf
  33. | KeyDatum
  34. | SliceItem
  35. | Ellipsis
  36. | Arguments of tie_id
  37. | NamedArguments of name
  38. | Argument
  39. | CompArgument
  40. | AssignArgument
  41. | GenFor
  42. | AsyncGenFor
  43. | GenIf
  44. | Inheritance
  45. | Chevron
  46. | From
  47. | ParamDef of name
  48. | ListParamDef
  49. | TypedParamDef of name
  50. | WithItem
  51. | StarStar
  52. | Star
  53. | Slash
  54. | Named
  55. | ReturnAnnotation
  56. | Dots of int
  57. | Stride
  58. | Annotation
Sourceval opt_to_string : ('a -> string) -> 'a option -> string
Sourceval name_to_string : ('a * 'b) -> 'b
Sourceval literal_to_string : Ast.literal -> string
Sourceval primary_to_string : Ast.primary -> string
Sourceval primary_desc_to_string : Ast.primary_desc -> string
Sourceval expr_to_string : Ast.expr -> string
Sourceval bop_to_string : Ast.bop -> string
Sourceval uop_to_string : Ast.uop -> string
Sourceval parameters_to_string : Ast.parameters -> string
Sourceval vararg_to_string : Ast.vararg -> string
Sourceval vargs_to_string : Ast.vararg list -> string
Sourceval fpdef_to_string : Ast.fpdef -> string
Sourceval exprs_to_string : Ast.expr list -> string
Sourceval compfor_to_string : Ast.compfor -> string
Sourceval compiter_to_string : Ast.compiter -> string
Sourceval compif_to_string : Ast.compif -> string
Sourceval listfor_to_string : Ast.listfor -> string
Sourceval listiter_to_string : Ast.listiter -> string
Sourceval listif_to_string : Ast.listif -> string
Sourceval dictelem_to_string : Ast.dictelem -> string
Sourceval dictorsetmaker_to_string : Ast.dictorsetmaker -> string
Sourceval sliceitem_to_string : Ast.sliceitem -> string
Sourceval arglist_to_string : Ast.arglist -> string
Sourceval argument_to_string : Ast.argument -> string
Sourceval tid_of_expr : Ast.expr -> string * string
Sourceval _of_statement : Ast.statement_desc -> Statement.t
Sourceval of_statement : Ast.statement_desc -> t
Sourceval tid_of_import : (('a * string) list * ('b * string) option) list -> string * string
Sourceval tid_of_from_import : (('a * int) option * ('b * string) list option * (('c * string) * ('d * string) option) list) -> string * string
Sourceval of_simplestmt : Ast.simplestmt_desc -> t
Sourceval of_bop : Ast.bop -> t
Sourceval of_uop : Ast.uop -> t
Sourceval tid_of_primary : Ast.primary -> string * string
Sourceval _of_primary : Ast.primary_desc -> Primary.t
Sourceval of_primary : Ast.primary_desc -> t
Sourceval to_string : t -> string
Sourceval strip : t -> t
Sourceval anonymize : ?more:bool -> t -> t
Sourceval anonymize2 : t -> t
Sourceval anonymize3 : t -> t
Sourceval to_simple_string : t -> string
Sourceval to_short_string : ?ignore_identifiers_flag:bool -> t -> string
Sourceval to_tag : ?strip:bool -> t -> string * (string * name) list
Sourceval to_char : 'a -> char
Sourceval to_elem_data : ?strip:bool -> ?afilt:(string -> bool) -> Astml.Loc.t -> t -> string * (string * string) list * string
Sourceval is_common_name : string -> bool
Sourceval is_named : t -> bool
Sourceval is_named_orig : t -> bool
Sourceval is_compatible : ?weak:bool -> 'a -> 'b -> bool
Sourceval is_order_insensitive : 'a -> bool
Sourceval quasi_eq : 'a -> 'b -> bool
Sourceval relabel_allowed : (t * t) -> bool
Sourceval move_disallowed : t -> bool
Sourceval is_common : t -> bool
Sourceval is_hunk_boundary : 'a -> 'b -> bool
Sourceval forced_to_be_collapsible : 'a -> bool
Sourceval is_collapse_target : < no_collapse_flag : bool.. > -> t -> bool
Sourceval is_to_be_notified : t -> bool
Sourceval is_boundary : t -> bool
Sourceval is_partition : t -> bool
Sourceval is_sequence : t -> bool
Sourceval is_ntuple : t -> bool
Sourceval is_comment : t -> bool
Sourceval get_ident_use : t -> name
Sourceval is_string_literal : t -> bool
Sourceval is_int_literal : t -> bool
Sourceval is_real_literal : t -> bool
Sourceval is_statement : t -> bool
Sourceval is_block : 'a -> bool
Sourceval is_op : t -> bool
Sourceval is_assign : t -> bool
Sourceval is_param : t -> bool
Sourceval is_attrref : t -> bool
Sourceval _is_name : t -> bool
Sourceval is_name : t -> bool
Sourceval is_primary : t -> bool
Sourceval is_primaryname : t -> bool
Sourceval is_scope_creating : t -> bool
Sourceval get_category : t -> string
Sourceval get_name : ?strip:bool -> t -> name
Sourceval get_value : t -> string
Sourceval has_value : t -> bool
Sourceval has_non_trivial_value : t -> bool
Sourceval has_non_trivial_tid : 'a -> bool
Sourceval cannot_be_keyroot : 'a -> bool
Sourceval is_phantom : t -> bool
Sourceval is_special : 'a -> bool
Sourceval of_elem_data : string -> (string * string) list -> string -> t
OCaml

Innovation. Community. Security.