Introspection
Term.introspection.TypeInfoTerm.introspection.TypeInfoTerm.introspection.TypeInfoTerm.introspection.get_docstringTerm.introspection.inspectTerm.introspection.inspectTerm.introspection.inspectTerm.introspection.style_method_lineTerm.introspection.style_sub_typesTerm.introspection.style_super_types
Term.introspection.TypeInfo — TypeTypeInfoStores 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)::StringStyle a string with method info (name, args, path...)
Term.introspection.style_sub_types — Methodstyle_sub_types(info)::StringStyle a vector of sub types.
Term.introspection.style_super_types — Methodstyle_super_types(info)::StringStyle a vector of super types