Skip to content

Commit

Permalink
docs: Updated docs to include option of static abstract methods. Chan…
Browse files Browse the repository at this point in the history
…ged order to reflect code
  • Loading branch information
TeaDrinkingProgrammer committed Apr 16, 2024
1 parent bfe2bec commit 582d774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/syntax/classDiagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function

> _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type:
>
> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*`
> - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$`
> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*`
> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*`
> _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end:
>
Expand Down
3 changes: 2 additions & 1 deletion packages/mermaid/src/docs/syntax/classDiagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function

> _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type:
>
> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*`
> - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$`
> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*`
> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*`
> _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end:
>
Expand Down

0 comments on commit 582d774

Please sign in to comment.