diff options
Diffstat (limited to 'generator/word.h')
-rw-r--r-- | generator/word.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generator/word.h b/generator/word.h index 1d77ed3..a994ec3 100644 --- a/generator/word.h +++ b/generator/word.h | |||
@@ -24,7 +24,7 @@ namespace verbly { | |||
24 | // Mutators | 24 | // Mutators |
25 | 25 | ||
26 | void setAdjectivePosition(positioning adjectivePosition); | 26 | void setAdjectivePosition(positioning adjectivePosition); |
27 | 27 | ||
28 | void setVerbGroup(const group& verbGroup); | 28 | void setVerbGroup(const group& verbGroup); |
29 | 29 | ||
30 | // Accessors | 30 | // Accessors |
@@ -58,7 +58,7 @@ namespace verbly { | |||
58 | { | 58 | { |
59 | return hasTagCount_; | 59 | return hasTagCount_; |
60 | } | 60 | } |
61 | 61 | ||
62 | int getTagCount() const | 62 | int getTagCount() const |
63 | { | 63 | { |
64 | // Calling code should always call hasTagCount first. | 64 | // Calling code should always call hasTagCount first. |
@@ -71,17 +71,17 @@ namespace verbly { | |||
71 | { | 71 | { |
72 | return adjectivePosition_; | 72 | return adjectivePosition_; |
73 | } | 73 | } |
74 | 74 | ||
75 | bool hasVerbGroup() const | 75 | bool hasVerbGroup() const |
76 | { | 76 | { |
77 | return (verbGroup_ != nullptr); | 77 | return (verbGroup_ != nullptr); |
78 | } | 78 | } |
79 | 79 | ||
80 | const group& getVerbGroup() const | 80 | const group& getVerbGroup() const |
81 | { | 81 | { |
82 | // Calling code should always call hasVerbGroup first. | 82 | // Calling code should always call hasVerbGroup first. |
83 | assert(verbGroup_ != nullptr); | 83 | assert(verbGroup_ != nullptr); |
84 | 84 | ||
85 | return *verbGroup_; | 85 | return *verbGroup_; |
86 | } | 86 | } |
87 | 87 | ||