Introspection
Term.introspection.TypeInfo
Term.introspection.TypeInfo
Term.introspection.TypeInfo
Term.introspection.get_docstring
Term.introspection.inspect
Term.introspection.inspect
Term.introspection.inspect
Term.introspection.style_method_line
Term.introspection.style_sub_types
Term.introspection.style_super_types
Term.introspection.TypeInfo
— TypeTypeInfo
Stores metadata about a DataType
Term.introspection.TypeInfo
— MethodTypeInfo(type::DataType)
Extract information from a DataType and store it as a TypeInfo
object.
Term.introspection.TypeInfo
— MethodTypeInfo(fun::Function)
Exctract information from a function object
Term.introspection.get_docstring
— Methodget_docstring(obj)
Extract and style an object's docstring.
Term.introspection.inspect
— Methodgeneric inspect method, dispatches to type-specific methods when they can be found
Term.introspection.inspect
— Methodinspect(type::DataType; width::Int=120)
Introspect a type.
Extract info like docstring, fields, types etc. and show it in a structured terminal output.
Term.introspection.inspect
— Methodinspect(fun::Function; width::Int=88, max_n_methods::Int = 7)
Inspects Function
objects providing docstrings, and methods signatures.
Term.introspection.style_method_line
— Methodstyle_method_line(method::AbstractString; trim::Bool=false)::String
Style a string with method info (name, args, path...)
Term.introspection.style_sub_types
— Methodstyle_sub_types(info)::String
Style a vector of sub types.
Term.introspection.style_super_types
— Methodstyle_super_types(info)::String
Style a vector of super types