« blib/lib/MarpaX/ESLIF/Grammar/Symbol/Properties.pm
↑ Summary
blib/lib/MarpaX/ESLIF/Grammar/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::Rule::Properties; | ||
| 5 | |||
| 6 | # ABSTRACT: ESLIF Grammar Rule 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 | 'id' => $args{id}, | ||
| 21 | 'description' => $args{description}, | ||
| 22 | 'show' => $args{show}, | ||
| 23 | 'lhsId' => $args{lhsId}, | ||
| 24 | 'separatorId' => $args{separatorId}, | ||
| 25 | 'rhsIds' => $args{rhsIds}, | ||
| 26 | 'skipIndices' => $args{skipIndices}, | ||
| 27 | 'exceptionId' => $args{exceptionId}, | ||
| 28 | 'action' => $args{action}, | ||
| 29 | 'discardEvent' => $args{discardEvent}, | ||
| 30 | 'discardEventInitialState' => $args{discardEventInitialState}, | ||
| 31 | 'rank' => $args{rank}, | ||
| 32 | 'nullRanksHigh' => $args{nullRanksHigh}, | ||
| 33 | 'sequence' => $args{sequence}, | ||
| 34 | 'proper' => $args{proper}, | ||
| 35 | 'minimum' => $args{minimum}, | ||
| 36 | 'propertyBitSet' => $args{propertyBitSet}, | ||
| 37 | 'hideseparator' => $args{hideseparator} | ||
| 38 | 0 | }; | |
| 39 | |||
| 40 | 0 | return bless $self, $pkg | |
| 41 | } | ||
| 42 | |||
| 43 | |||
| 44 | 0 | ▶ | sub getId { |
|
Subroutine
getId: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 45 | 0 | my ($self) = @_; | |
| 46 | |||
| 47 | return $self->{id} | ||
| 48 | 0 | } | |
| 49 | |||
| 50 | |||
| 51 | 0 | ▶ | sub getDescription { |
|
Subroutine
getDescription: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | 0 | my ($self) = @_; | |
| 53 | |||
| 54 | return $self->{description} | ||
| 55 | 0 | } | |
| 56 | |||
| 57 | |||
| 58 | 0 | ▶ | sub getShow { |
|
Subroutine
getShow: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 59 | 0 | my ($self) = @_; | |
| 60 | |||
| 61 | return $self->{show} | ||
| 62 | 0 | } | |
| 63 | |||
| 64 | |||
| 65 | 0 | ▶ | sub getLhsId { |
|
Subroutine
getLhsId: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | 0 | my ($self) = @_; | |
| 67 | |||
| 68 | return $self->{lhsId} | ||
| 69 | 0 | } | |
| 70 | |||
| 71 | |||
| 72 | 0 | ▶ | sub getSeparatorId { |
|
Subroutine
getSeparatorId: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 73 | 0 | my ($self) = @_; | |
| 74 | |||
| 75 | return $self->{separatorId} | ||
| 76 | 0 | } | |
| 77 | |||
| 78 | |||
| 79 | 0 | ▶ | sub getRhsIds { |
|
Subroutine
getRhsIds: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 80 | 0 | my ($self) = @_; | |
| 81 | |||
| 82 | return $self->{rhsIds} | ||
| 83 | 0 | } | |
| 84 | |||
| 85 | |||
| 86 | 0 | ▶ | sub getSkipIndices { |
|
Subroutine
getSkipIndices: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 87 | 0 | my ($self) = @_; | |
| 88 | |||
| 89 | return $self->{skipIndices} | ||
| 90 | 0 | } | |
| 91 | |||
| 92 | |||
| 93 | 0 | ▶ | sub getExceptionId { |
|
Subroutine
getExceptionId: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 94 | 0 | my ($self) = @_; | |
| 95 | |||
| 96 | return $self->{exceptionId} | ||
| 97 | 0 | } | |
| 98 | |||
| 99 | |||
| 100 | 0 | ▶ | sub getAction { |
|
Subroutine
getAction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 101 | 0 | my ($self) = @_; | |
| 102 | |||
| 103 | return $self->{action} | ||
| 104 | 0 | } | |
| 105 | |||
| 106 | |||
| 107 | 0 | ▶ | sub getDiscardEvent { |
|
Subroutine
getDiscardEvent: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 108 | 0 | my ($self) = @_; | |
| 109 | |||
| 110 | return $self->{discardEvent} | ||
| 111 | 0 | } | |
| 112 | |||
| 113 | |||
| 114 | 0 | ▶ | sub isDiscardEventInitialState { |
|
Subroutine
isDiscardEventInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 115 | 0 | my ($self) = @_; | |
| 116 | |||
| 117 | return $self->{discardEventInitialState} | ||
| 118 | 0 | } | |
| 119 | |||
| 120 | |||
| 121 | 0 | ▶ | sub getDiscardEventInitialState { |
|
Subroutine
getDiscardEventInitialState: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 122 | 0 | goto &isDiscardEventInitialState | |
| 123 | } | ||
| 124 | |||
| 125 | |||
| 126 | 0 | ▶ | sub getRank { |
|
Subroutine
getRank: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 127 | 0 | my ($self) = @_; | |
| 128 | |||
| 129 | return $self->{rank} | ||
| 130 | 0 | } | |
| 131 | |||
| 132 | |||
| 133 | 0 | ▶ | sub isNullRanksHigh { |
|
Subroutine
isNullRanksHigh: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 134 | 0 | my ($self) = @_; | |
| 135 | |||
| 136 | return $self->{nullRanksHigh} | ||
| 137 | 0 | } | |
| 138 | |||
| 139 | |||
| 140 | 0 | ▶ | sub getNullRanksHigh { |
|
Subroutine
getNullRanksHigh: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 141 | 0 | goto &isNullRanksHigh | |
| 142 | } | ||
| 143 | |||
| 144 | |||
| 145 | 0 | ▶ | sub isSequence { |
|
Subroutine
isSequence: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 146 | 0 | my ($self) = @_; | |
| 147 | |||
| 148 | return $self->{sequence} | ||
| 149 | 0 | } | |
| 150 | |||
| 151 | |||
| 152 | 0 | ▶ | sub getSequence { |
|
Subroutine
getSequence: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 153 | 0 | goto &isSequence | |
| 154 | } | ||
| 155 | |||
| 156 | |||
| 157 | 0 | ▶ | sub isProper { |
|
Subroutine
isProper: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 158 | 0 | my ($self) = @_; | |
| 159 | |||
| 160 | return $self->{proper} | ||
| 161 | 0 | } | |
| 162 | |||
| 163 | |||
| 164 | 0 | ▶ | sub getProper { |
|
Subroutine
getProper: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 165 | 0 | goto &isProper | |
| 166 | } | ||
| 167 | |||
| 168 | |||
| 169 | 0 | ▶ | sub getMinimum { |
|
Subroutine
getMinimum: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 170 | 0 | my ($self) = @_; | |
| 171 | |||
| 172 | return $self->{minimum} | ||
| 173 | 0 | } | |
| 174 | |||
| 175 | |||
| 176 | 0 | ▶ | sub getPropertyBitSet { |
|
Subroutine
getPropertyBitSet: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 177 | 0 | my ($self) = @_; | |
| 178 | |||
| 179 | return $self->{propertyBitSet} | ||
| 180 | 0 | } | |
| 181 | |||
| 182 | |||
| 183 | 0 | ▶ | sub isHideseparator { |
|
Subroutine
isHideseparator: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 184 | 0 | my ($self) = @_; | |
| 185 | |||
| 186 | return $self->{hideseparator} | ||
| 187 | 0 | } | |
| 188 | |||
| 189 | |||
| 190 | 0 | ▶ | sub getHideseparator { |
|
Subroutine
getHideseparator: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 191 | 0 | goto &isHideseparator | |
| 192 | } | ||
| 193 | |||
| 194 | |||
| 195 | 1 | 1; | |
| 196 | |||
| 197 | __END__ | ||