REPR
Term.Repr.get_docstringTerm.Repr.get_methods_with_docstringsTerm.Repr.install_term_reprTerm.Repr.repr_panelTerm.Repr.style_function_methodsTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.termshowTerm.Repr.typenameTerm.Repr.with_reprTerm.Repr.@with_repr
Term.Repr.get_docstring — Methodget_docstring(obj)Extract and style an object's docstring.
Term.Repr.get_methods_with_docstrings — Methodget_methods_with_docstrings(obj::Union{Union, DataType, Function})Get the docstring for each method for an object (function/datatype).
Term.Repr.install_term_repr — Methodinstall_term_repr()Make term_show be called every times something is shown in the REPL
Term.Repr.repr_panel — MethodCreate a Panel showing repr content using the current theme's style info.
Term.Repr.style_function_methods — MethodCreate a styled list of methods for a function. Accepts string(methods(function)) as argument.
Term.Repr.termshow — FunctiontermshowStyled string representation of any object.
termshow prints to stdout (or any other IO) a styled representation of the object. Dedicated methods create displays for specify types such as Dict or Vector.
Term.Repr.termshow — Methodtermshow(io::IO, arr::AbstractArray; kwargs...)Show the content of a multidimensional array as a series of 2D slices.
Term.Repr.termshow — Methodtermshow(io::IO, d::Dict; kwargs...)Show a dictionary's keys and values and their data types.
Term.Repr.termshow — Methodtermshow(io::IO, mtx::AbstractMatrix; kwargs...)Show a matrix content as a 2D table visualization.
Term.Repr.termshow — Methodtermshow(io::IO, obj)Generic method for any object not caught by dedicated methods. Creates a Panel with the object's fields and contents.
Term.Repr.termshow — Methodtermshow(io::IO, obj::DataType; kwargs...)Show a type's arguments, constructors and docstring.
Term.Repr.termshow — Methodtermshow(io::IO, e::Expr; kwargs...)Show an expression's head and arguments.
Term.Repr.termshow — Methodtermshow(io::IO, fun::Function; kwargs...)Show a function's methods and docstring.
Term.Repr.termshow — Methodtermshow(io::IO, vec::Union{Tuple,AbstractVector}; kwargs...)Show a vector's content as a 1D table visualization.
Term.Repr.typename — Methodtypename(typedef::Expr)Get the name of a type as an expression
Term.Repr.with_repr — Methodwith_repr(typedef::Expr)Function for the macro @with_repr which creates a Base.show method for a type.
The show method shows the field names/types for the type and the values of the fields.
Example
@with_repr struct TestStruct2
x::Int
name::String
y
endTerm.Repr.@with_repr — Macrowith_repr(typedef::Expr)
Function for the macro @with_repr which creates a Base.show method for a type.
The show method shows the field names/types for the type and the values of the fields.
Example
@with_repr struct TestStruct2
x::Int
name::String
y
end