File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
struct VariableUnit end
2
2
struct VariableConnectType end
3
3
struct VariableNoiseType end
4
- struct VariableDescriptionType end
5
4
struct VariableInput end
6
5
struct VariableOutput end
7
6
struct VariableIrreducible end
8
7
Symbolics. option_to_metadata_type (:: Val{:unit} ) = VariableUnit
9
8
Symbolics. option_to_metadata_type (:: Val{:connect} ) = VariableConnectType
10
9
Symbolics. option_to_metadata_type (:: Val{:noise} ) = VariableNoiseType
11
- Symbolics. option_to_metadata_type (:: Val{:description} ) = VariableDescriptionType
12
10
Symbolics. option_to_metadata_type (:: Val{:input} ) = VariableInput
13
11
Symbolics. option_to_metadata_type (:: Val{:output} ) = VariableOutput
14
12
Symbolics. option_to_metadata_type (:: Val{:irreducible} ) = VariableIrreducible
288
286
function hasdescription (x)
289
287
getdescription (x) != " "
290
288
end
289
+
290
+ function Base. Docs. getdoc (p:: Num )
291
+ string (Base. Docs. @doc (p), " " , getdescription (p))
292
+ end
You can’t perform that action at this time.
0 commit comments