Sentence   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
ccs 5
cts 5
cp 1
rs 10
wmc 0
1
"""Contains the class representing a sentence leaf."""
2
3 1
from .abstractnode import register, AbstractNode
4
5 1
@register
6 1
class Sentence(AbstractNode):
7
    """Represents a sentence before it is parsed.
8
    https://github.com/ProjetPP/Documentation/blob/master/data-model.md#sentence
9
    """
10 1
    __slots__ = ()
11 1
    _type = 'sentence'
12 1
    _possible_attributes = ('value',)
13
14
15