« blib/lib/MarpaX/ESLIF/JSON/Decoder/RecognizerInterface.pm
↑ Summary
blib/lib/MarpaX/ESLIF/Grammar/Rule/Properties.pm »
| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package MarpaX::ESLIF::Grammar::Symbol::Properties; | ||
| 5 | |||
| 6 | # ABSTRACT: ESLIF Grammar Symbol Properties | ||
| 7 | |||
| 8 | 1 | our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY | |
| 9 | |||
| 10 | 1 | our $VERSION = '6.0.35.1'; # VERSION | |
| 11 | |||
| 12 | |||
| 13 | # | ||
| 14 | # old-style perl - getters only in java style | ||
| 15 | # | ||
| 16 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 17 | 0 | my ($pkg, %args) = @_; | |
| 18 | |||
| 19 | my $self = { | ||
| 20 | 'type' => $args{type}, | ||
| 21 | 'start' => $args{start}, | ||
| 22 | 'discard' => $args{discard}, | ||
| 23 | 'discardRhs' => $args{discardRhs}, | ||
| 24 | 'lhs' => $args{lhs}, | ||
| 25 | 'top' => $args{top}, | ||
| 26 | 'id' => $args{id}, | ||
| 27 | 'description' => $args{description}, | ||
| 28 | 'eventBefore' => $args{eventBefore}, | ||
| 29 | 'eventBeforeInitialState' => $args{eventBeforeInitialState}, | ||
| 30 | 'eventAfter' => $args{eventAfter}, | ||
| 31 | 'eventAfterInitialState' => $args{eventAfterInitialState}, | ||
| 32 | 'eventPredicted' => $args{eventPredicted}, | ||
| 33 | 'eventPredictedInitialState' => $args{eventPredictedInitialState}, | ||
| 34 | 'eventNulled' => $args{eventNulled}, | ||
| 35 | 'eventNulledInitialState' => $args{eventNulledInitialState}, | ||
| 36 | 'eventCompleted' => $args{eventCompleted}, | ||
| 37 | 'eventCompletedInitialState' => $args{eventCompletedInitialState}, | ||
| 38 | 'discardEvent' => $args{discardEvent}, | ||
| 39 | 'discardEventInitialState' => $args{discardEventInitialState}, | ||
| 40 | 'lookupResolvedLeveli' => $args{lookupResolvedLeveli}, | ||
| 41 | 'priority' => $args{priority}, | ||
| 42 | 'nullableAction' => $args{nullableAction}, | ||
| 43 | 'propertyBitSet' => $args{propertyBitSet}, | ||
| 44 | 'eventBitSet' => $args{eventBitSet}, | ||
| 45 | 'symbolAction' => $args{symbolAction}, | ||
| 46 | 'ifAction' => $args{ifAction}, | ||
| 47 | 'generatorAction' => $args{generatorAction}, | ||
| 48 | 'verbose' => $args{verbose} | ||
| 49 | 0 | }; | |
| 50 | |||
| 51 | 0 | return bless $self, $pkg | |
| 52 | } | ||
| 53 | |||
| 54 | |||
| 55 | 0 | ▶ | sub getType { |
|
Subroutine
getType: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 56 | 0 | my ($self) = @_; | |
| 57 | |||
| 58 | return $self->{type} | ||
| 59 | 0 | } | |
| 60 | |||
| 61 | |||
| 62 | 0 | ▶ | sub isStart { |
|
Subroutine
isStart: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 63 | 0 | my ($self) = @_; | |
| 64 | |||
| 65 | return $self->{start} | ||
| 66 | 0 | } | |
| 67 | |||
| 68 | |||
| 69 | 0 | ▶ | sub getStart { |
|
Subroutine
getStart: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 70 | 0 | goto &isStart | |
| 71 | } | ||
| 72 | |||
| 73 | |||
| 74 | 0 | ▶ | sub isDiscard { |
|
Subroutine
isDiscard: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 75 | 0 | my ($self) = @_; | |
| 76 | |||
| 77 | return $self->{discard} | ||
| 78 | 0 | } | |
| 79 | |||
| 80 | |||
| 81 | 0 | ▶ | sub getDiscard { |
|
Subroutine
getDiscard: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 82 | 0 | goto &isDiscard | |
| 83 | } | ||
| 84 | |||
| 85 | |||
| 86 | 0 | ▶ | sub isDiscardRhs { |
|
Subroutine
isDiscardRhs: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 87 | 0 | my ($self) = @_; | |
| 88 | |||
| 89 | return $self->{discardRhs} | ||
| 90 | 0 | } | |
| 91 | |||
| 92 | |||
| 93 | 0 | ▶ | sub getDiscardRhs { |
|
Subroutine
getDiscardRhs: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 94 | 0 | goto &isDiscardRhs | |
| 95 | } | ||
| 96 | |||
| 97 | |||
| 98 | 0 | ▶ | sub isLhs { |
|
Subroutine
isLhs: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 99 | 0 | my ($self) = @_; | |
| 100 | |||
| 101 | return $self->{lhs} | ||
| 102 | 0 | } | |
| 103 | |||
| 104 | |||
| 105 | 0 | ▶ | sub getLhs { |
|
Subroutine
getLhs: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 106 | 0 | goto &isLhs | |
| 107 | } | ||
| 108 | |||
| 109 | |||
| 110 | 0 | ▶ | sub isTop { |
|
Subroutine
isTop: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 111 | 0 | my ($self) = @_; | |
| 112 | |||
| 113 | return $self->{top} | ||
| 114 | 0 | } | |
| 115 | |||
| 116 | |||
| 117 | 0 | ▶ | sub getTop { |
|
Subroutine
getTop: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 118 | 0 | goto &isTop | |
| 119 | } | ||
| 120 | |||
| 121 | |||
| 122 | 0 | ▶ | sub getId { |
|
Subroutine
getId: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 123 | 0 | my ($self) = @_; | |
| 124 | |||
| 125 | return $self->{id} | ||
| 126 | 0 | } | |
| 127 | |||
| 128 | |||
| 129 | 0 | ▶ | sub getDescription { |
|
Subroutine
getDescription: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 130 | 0 | my ($self) = @_; | |
| 131 | |||
| 132 | return $self->{description} | ||
| 133 | 0 | } | |
| 134 | |||
| 135 | |||
| 136 | 0 | ▶ | sub getEventBefore { |
|
Subroutine
getEventBefore: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 137 | 0 | my ($self) = @_; | |
| 138 | |||
| 139 | return $self->{eventBefore} | ||
| 140 | 0 | } | |
| 141 | |||
| 142 | |||
| 143 | 0 | ▶ | sub isEventBeforeInitialState { |
|
Subroutine
isEventBeforeInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 144 | 0 | my ($self) = @_; | |
| 145 | |||
| 146 | return $self->{eventBeforeInitialState} | ||
| 147 | 0 | } | |
| 148 | |||
| 149 | |||
| 150 | 0 | ▶ | sub getEventBeforeInitialState { |
|
Subroutine
getEventBeforeInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 151 | 0 | goto &isEventBeforeInitialState | |
| 152 | } | ||
| 153 | |||
| 154 | |||
| 155 | 0 | ▶ | sub getEventAfter { |
|
Subroutine
getEventAfter: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 156 | 0 | my ($self) = @_; | |
| 157 | |||
| 158 | return $self->{eventAfter} | ||
| 159 | 0 | } | |
| 160 | |||
| 161 | |||
| 162 | 0 | ▶ | sub isEventAfterInitialState { |
|
Subroutine
isEventAfterInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 163 | 0 | my ($self) = @_; | |
| 164 | |||
| 165 | return $self->{eventAfterInitialState} | ||
| 166 | 0 | } | |
| 167 | |||
| 168 | |||
| 169 | 0 | ▶ | sub getEventAfterInitialState { |
|
Subroutine
getEventAfterInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 170 | 0 | goto &isEventAfterInitialState | |
| 171 | } | ||
| 172 | |||
| 173 | |||
| 174 | 0 | ▶ | sub getEventPredicted { |
|
Subroutine
getEventPredicted: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 175 | 0 | my ($self) = @_; | |
| 176 | |||
| 177 | return $self->{eventPredicted} | ||
| 178 | 0 | } | |
| 179 | |||
| 180 | |||
| 181 | 0 | ▶ | sub isEventPredictedInitialState { |
|
Subroutine
isEventPredictedInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 182 | 0 | my ($self) = @_; | |
| 183 | |||
| 184 | return $self->{eventPredictedInitialState} | ||
| 185 | 0 | } | |
| 186 | |||
| 187 | |||
| 188 | 0 | ▶ | sub getEventPredictedInitialState { |
|
Subroutine
getEventPredictedInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 189 | 0 | goto &isEventPredictedInitialState | |
| 190 | } | ||
| 191 | |||
| 192 | |||
| 193 | 0 | ▶ | sub getEventNulled { |
|
Subroutine
getEventNulled: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 194 | 0 | my ($self) = @_; | |
| 195 | |||
| 196 | return $self->{eventNulled} | ||
| 197 | 0 | } | |
| 198 | |||
| 199 | |||
| 200 | 0 | ▶ | sub isEventNulledInitialState { |
|
Subroutine
isEventNulledInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 201 | 0 | my ($self) = @_; | |
| 202 | |||
| 203 | return $self->{eventNulledInitialState} | ||
| 204 | 0 | } | |
| 205 | |||
| 206 | |||
| 207 | 0 | ▶ | sub getEventNulledInitialState { |
|
Subroutine
getEventNulledInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 208 | 0 | goto &isEventNulledInitialState | |
| 209 | } | ||
| 210 | |||
| 211 | |||
| 212 | 0 | ▶ | sub getEventCompleted { |
|
Subroutine
getEventCompleted: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 213 | 0 | my ($self) = @_; | |
| 214 | |||
| 215 | return $self->{eventCompleted} | ||
| 216 | 0 | } | |
| 217 | |||
| 218 | |||
| 219 | 0 | ▶ | sub isEventCompletedInitialState { |
|
Subroutine
isEventCompletedInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 220 | 0 | my ($self) = @_; | |
| 221 | |||
| 222 | return $self->{eventCompletedInitialState} | ||
| 223 | 0 | } | |
| 224 | |||
| 225 | |||
| 226 | 0 | ▶ | sub getEventCompletedInitialState { |
|
Subroutine
getEventCompletedInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 227 | 0 | goto &isEventCompletedInitialState | |
| 228 | } | ||
| 229 | |||
| 230 | |||
| 231 | 0 | ▶ | sub getDiscardEvent { |
|
Subroutine
getDiscardEvent: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 232 | 0 | my ($self) = @_; | |
| 233 | |||
| 234 | return $self->{discardEvent} | ||
| 235 | 0 | } | |
| 236 | |||
| 237 | |||
| 238 | 0 | ▶ | sub isDiscardEventInitialState { |
|
Subroutine
isDiscardEventInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 239 | 0 | my ($self) = @_; | |
| 240 | |||
| 241 | return $self->{discardEventInitialState} | ||
| 242 | 0 | } | |
| 243 | |||
| 244 | |||
| 245 | 0 | ▶ | sub getDiscardEventInitialState { |
|
Subroutine
getDiscardEventInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 246 | 0 | goto &isDiscardEventInitialState | |
| 247 | } | ||
| 248 | |||
| 249 | |||
| 250 | 0 | ▶ | sub getLookupResolvedLeveli { |
|
Subroutine
getLookupResolvedLeveli: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 251 | 0 | my ($self) = @_; | |
| 252 | |||
| 253 | return $self->{lookupResolvedLeveli} | ||
| 254 | 0 | } | |
| 255 | |||
| 256 | |||
| 257 | 0 | ▶ | sub getPriority { |
|
Subroutine
getPriority: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 258 | 0 | my ($self) = @_; | |
| 259 | |||
| 260 | return $self->{priority} | ||
| 261 | 0 | } | |
| 262 | |||
| 263 | |||
| 264 | 0 | ▶ | sub getNullableAction { |
|
Subroutine
getNullableAction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 265 | 0 | my ($self) = @_; | |
| 266 | |||
| 267 | return $self->{nullableAction} | ||
| 268 | 0 | } | |
| 269 | |||
| 270 | |||
| 271 | 0 | ▶ | sub getPropertyBitSet { |
|
Subroutine
getPropertyBitSet: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 272 | 0 | my ($self) = @_; | |
| 273 | |||
| 274 | return $self->{propertyBitSet} | ||
| 275 | 0 | } | |
| 276 | |||
| 277 | |||
| 278 | 0 | ▶ | sub getEventBitSet { |
|
Subroutine
getEventBitSet: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 279 | 0 | my ($self) = @_; | |
| 280 | |||
| 281 | return $self->{eventBitSet} | ||
| 282 | 0 | } | |
| 283 | |||
| 284 | |||
| 285 | 0 | ▶ | sub getSymbolAction { |
|
Subroutine
getSymbolAction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 286 | 0 | my ($self) = @_; | |
| 287 | |||
| 288 | return $self->{symbolAction} | ||
| 289 | 0 | } | |
| 290 | |||
| 291 | |||
| 292 | 0 | ▶ | sub getIfAction { |
|
Subroutine
getIfAction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 293 | 0 | my ($self) = @_; | |
| 294 | |||
| 295 | return $self->{ifAction} | ||
| 296 | 0 | } | |
| 297 | |||
| 298 | |||
| 299 | 0 | ▶ | sub getGeneratorAction { |
|
Subroutine
getGeneratorAction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 300 | 0 | my ($self) = @_; | |
| 301 | |||
| 302 | return $self->{generatorAction} | ||
| 303 | 0 | } | |
| 304 | |||
| 305 | |||
| 306 | 0 | ▶ | sub isVerbose { |
|
Subroutine
isVerbose: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 307 | 0 | my ($self) = @_; | |
| 308 | |||
| 309 | return $self->{verbose} | ||
| 310 | 0 | } | |
| 311 | |||
| 312 | |||
| 313 | 0 | ▶ | sub getVerbose { |
|
Subroutine
getVerbose: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 314 | 0 | goto &isVerbose | |
| 315 | } | ||
| 316 | |||
| 317 | |||
| 318 | 1 | 1; | |
| 319 | |||
| 320 | __END__ | ||