PythonFrontend.PyCommonval proc_name :
?loc:Textuallib.Textual.Location.t ->
string ->
Textuallib.Textual.ProcName.tval var_name :
?loc:Textuallib.Textual.Location.t ->
string ->
Textuallib.Textual.VarName.tval node_name :
?loc:Textuallib.Textual.Location.t ->
string ->
Textuallib.Textual.NodeName.tval field_name :
?loc:Textuallib.Textual.Location.t ->
string ->
Textuallib.Textual.FieldName.tval mk_type : string -> Textuallib.Textual.Typ.tval qualified_procname :
enclosing_class:Textuallib.Textual.TypeName.t ->
Textuallib.Textual.ProcName.t ->
Textuallib.Textual.QualifiedProcName.tval builtin_name : string -> Textuallib.Textual.QualifiedProcName.tHelper function to encode known builtin names correctly
val python_int : Textuallib.Textual.QualifiedProcName.tEncoding of Python int type. Since Python integers are of arbitrary precision, they are not modeled directly with int.
val python_float : Textuallib.Textual.QualifiedProcName.tEncoding of Python float type.
val python_string : Textuallib.Textual.QualifiedProcName.tEncoding of Python str type.
val python_bytes : Textuallib.Textual.QualifiedProcName.tEncoding of Python bytes type.
val python_bool : Textuallib.Textual.QualifiedProcName.tEncoding of Python bool type.
val python_tuple : Textuallib.Textual.QualifiedProcName.tEncoding of Python tuple type. It is the raw "untyped" one where every item is of type object.
val pyObject : Textuallib.Textual.Typ.tobject is the top type of Python. It helps us when no type information is available.
val pyCode : Textuallib.Textual.Typ.tcode is a builtin Python type to describe any code (function, class, ...) object
val pyClass : Textuallib.Textual.Typ.tLike pyCode but for class creation
val pyIterItem : Textuallib.Textual.Typ.tWrapper type to implement next access on an iterator. Declared as pyIterItemStruct
val py_iter_item_has_item : Textuallib.Textual.qualified_fieldnameval py_iter_item_next_item : Textuallib.Textual.qualified_fieldnameval pyIterItemStruct : Textuallib.Textual.Struct.tTextual structure with two fields. has_item indicates if something was read from the iterator or if it was empty. If has_item is true, next_item holds the value read from the iterator.
val pyInt : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type int
val pyString : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type str
val pyBytes : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type bytes
val pyBool : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type bool
val pyFloat : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type float
val pyNone : Textuallib.Textual.Typ.tTextual encoding of the primitive Python type None
val pyList : Textuallib.Textual.Typ.tPython's builtin list type
val pyMap : Textuallib.Textual.Typ.tPython's builtin map type
val pySet : Textuallib.Textual.Typ.tPython's builtin set type
val pyTuple : Textuallib.Textual.Typ.tPython's builtin tuple type
val mk_int : Z.t -> Textuallib.Textual.Exp.tHelper function to define typed Textual expression for literal integers.
val mk_float : float -> Textuallib.Textual.Exp.tHelper function to define typed Textual expression for literal floats.
val mk_string : string -> Textuallib.Textual.Exp.tHelper function to define typed Textual expression for literal strings.
val get_string : Textuallib.Textual.Exp.t -> string optionHelper to get back a string built with mk_string
val get_tuple_as_list :
Textuallib.Textual.Exp.t ->
Textuallib.Textual.Exp.t list optionHelper to get back the inner elements of a python_tuple
val mk_bytes : bytes -> Textuallib.Textual.Exp.tHelper function to define typed Textual expression for literal bytes.
val mk_bool : bool -> Textuallib.Textual.Exp.tHelper function to define typed Textual expression for boolean.
module Ident : sig ... endEncoding of some type annotation like x: int
val pp_annotated_name : Stdlib.Format.formatter -> annotated_name -> unittype signature = annotated_name listval pp_signature : Stdlib.Format.formatter -> signature -> unitmodule ABC : sig ... endTextual label name for entry points of function we synthesized (constructors, __init__, ...)
module MakeFunctionFlags : sig ... endFlags used by MAKE_FUNCTION