forked from moosetechnology/MoosePy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFamixPythonComment.class.st
More file actions
41 lines (32 loc) · 987 Bytes
/
FamixPythonComment.class.st
File metadata and controls
41 lines (32 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"
## Relations
======================
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment|
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
"
Class {
#name : 'FamixPythonComment',
#superclass : 'FamixPythonSourcedEntity',
#traits : 'FamixTComment',
#classTraits : 'FamixTComment classTrait',
#category : 'Famix-Python-Entities-Entities',
#package : 'Famix-Python-Entities',
#tag : 'Entities'
}
{ #category : 'meta' }
FamixPythonComment class >> annotation [
<FMClass: #Comment super: #FamixPythonSourcedEntity>
<package: #'Famix-Python-Entities'>
<generated>
^ self
]
{ #category : 'testing' }
FamixPythonComment >> isDocString [
^ self sourceAnchor beginsWith: '"""'
]