mkdocstrings-matlab 0.2.1__py2.py3-none-any.whl → 0.2.3__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,7 @@ function data = argument(object)
44
44
  for iSize = numel(object.Validation.Size):-1:1
45
45
 
46
46
  if isprop(object.Validation.Size(iSize), 'Length')
47
- data.size(iSize) = object.Validation.Size(iSize).Length;
47
+ data.size(iSize) = string(object.Validation.Size(iSize).Length);
48
48
  else
49
49
  data.size(iSize) = ":";
50
50
  end
@@ -13,6 +13,7 @@ function data = class(object, opts)
13
13
  data.sealed = object.Sealed;
14
14
  data.abstract = object.Abstract;
15
15
  data.enumeration = object.Enumeration;
16
+ data.properties = arrayfun(@(prop) docstring.metadata.property(prop), object.PropertyList);
16
17
  data.superclasses = arrayfun(@(o) string(o.Name), object.SuperclassList);
17
18
  data.handle = object.HandleCompatible;
18
19
  data.aliases = object.Aliases;
@@ -43,9 +44,6 @@ function data = class(object, opts)
43
44
  end
44
45
 
45
46
  numProp = numel(object.PropertyList);
46
- for iProp = numProp:-1:1
47
- data.properties(iProp) = docstring.metadata.property(object.PropertyList(iProp));
48
- end
49
47
 
50
48
  nameparts = split(object.Name, '.');
51
49
  data.constructor = any(strcmp(nameparts(end), [data.methods.name]));
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mkdocstrings-matlab
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Add your description here
5
5
  Author-email: Mark Hu <watermarkhu@gmail.com>
6
6
  License-File: LICENSE
@@ -12,8 +12,8 @@ mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m,sha256=kVQxUEk8iOfH
12
12
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m,sha256=QneDYSICtXqdPNq8sYNieirXUisuDKRM9rxPx-0osDU,137
13
13
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/method.m,sha256=Bw8Mb96OP7-AnbGnvRMySOIbYSTtEC1BGBnqHMEIhsM,165
14
14
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/namespace.m,sha256=ZpYrgZHLIdGvgg3F6210gDTska9YyASn63ZVYkBq41A,667
15
- mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m,sha256=yE1sywrr6Q0YjEkPkdBTjjkLeUrPv0jV-degM_EE_iE,1905
16
- mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m,sha256=zvOq3INtGZF65yaiTg0-YZ0jU55XrXcaDSFXQbosBuM,1787
15
+ mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m,sha256=mukssWUFiPWg_YuHWdtbjWFmxtcn2gTDXt38SegIWq4,1913
16
+ mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m,sha256=C9BjYu8LgUsWc5CPJFlFr2LT7OFrVXbUz2oh7drkKtg,1756
17
17
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m,sha256=k1gz4kjEQX5DCIfzCs1lee5jjAL4fg6A7LnwcUF8kRE,424
18
18
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/namespace.m,sha256=kMzfAoWIpMXH76rrkyUqauJSRIaylsfnu0Cds4pYnJc,481
19
19
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/property.m,sha256=rH3cHz66ZG9sUvDU2fhlyASSB_yp0SiHlbpB44fcFiY,1560
@@ -22,7 +22,7 @@ mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m,sha256=IsqIZKyaBU
22
22
  mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m,sha256=4NlQ7-RjqIFZAn6P-9JzCrm2FvfGRKiM2M_leINj9i4,835
23
23
  mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m,sha256=iFNpbnOr9FAv-3Zn8ksJHIthXAB7XKYVfH2NGFinzHs,499
24
24
  mkdocstrings_handlers/matlab/resources/grammar.yml,sha256=GLI4xdATiB70bzRscXOVwMlw0YFlA-3GJzuzqWeBKJU,19511
25
- mkdocstrings_matlab-0.2.1.dist-info/METADATA,sha256=hQxu7qSPf15QcDG7yMsjZdht6QWSjfpT7FmBZ-O23Hk,549
26
- mkdocstrings_matlab-0.2.1.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
27
- mkdocstrings_matlab-0.2.1.dist-info/licenses/LICENSE,sha256=14xA0OIYNpfmdeuq8-Yyqg7-3IJ4qhu3BJhknent-cY,1069
28
- mkdocstrings_matlab-0.2.1.dist-info/RECORD,,
25
+ mkdocstrings_matlab-0.2.3.dist-info/METADATA,sha256=Gm28FHl5Tm1wo43Eb91VtRNgXThUsQM5ip66kRiuc9c,549
26
+ mkdocstrings_matlab-0.2.3.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
27
+ mkdocstrings_matlab-0.2.3.dist-info/licenses/LICENSE,sha256=14xA0OIYNpfmdeuq8-Yyqg7-3IJ4qhu3BJhknent-cY,1069
28
+ mkdocstrings_matlab-0.2.3.dist-info/RECORD,,