Skip to content

Commit

Permalink
Merge pull request #433 from RomainDeg/development
Browse files Browse the repository at this point in the history
added the initial query message missing in some examples

Fixes #432
  • Loading branch information
jecisc authored Apr 14, 2022
2 parents ba9a7f7 + a96c88d commit 17265c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Moose-Query/MooseQuery.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Then the query has different parameters:
Last, you can have a parameter that will finish to configure and execute the query:
```st
method ancestors ofType: FamixTClass. ""ofType: will select the ancestors/descendents matching the kind in parameter.""
method ancestors ofAnyType: { FamixTClass . FamixTNamespace }. ""ofAnyTypes: will select the ancestors/descendents matching any kind in parameter.""
method ancestors ofAnyType. ""Select all ancestors independently of the type.""
method query ancestors ofType: FamixTClass. ""ofType: will select the ancestors/descendents matching the kind in parameter.""
method query ancestors ofAnyType: { FamixTClass . FamixTNamespace }. ""ofAnyTypes: will select the ancestors/descendents matching any kind in parameter.""
method query ancestors ofAnyType. ""Select all ancestors independently of the type.""
```
More examples:
Expand Down Expand Up @@ -96,9 +96,9 @@ By default the queries will return a collection of associations (if the paramete
Last, you can have a parameter that will finish to configure and execute the query:
```st
method ancestors dependencies. ""Will select all kinds of dependencies.""
method ancestors dependenciesOfType: FamixTReference. ""Will select the dependencies of the type passed has parameter.""
method ancestors dependenciesOfAnyType: { FamixTReference . FamixTInvocation }. ""Will select the dependencies whose types are present in the collection of types in parameter.""
method query ancestors dependencies. ""Will select all kinds of dependencies.""
method query ancestors dependenciesOfType: FamixTReference. ""Will select the dependencies of the type passed has parameter.""
method query ancestors dependenciesOfAnyType: { FamixTReference . FamixTInvocation }. ""Will select the dependencies whose types are present in the collection of types in parameter.""
```
More examples:
Expand Down

0 comments on commit 17265c0

Please sign in to comment.