Skip to content

Package: AttributeModifierToken

AttributeModifierToken

nameinstructionbranchcomplexitylinemethod
AttributeModifierToken(Position)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
isAttributeModifierToken()
M: 0 C: 2
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.wtf.common.token.keywords;
2:
3: import de.fhdw.wtf.common.token.Position;
4:
5: /**
6: * Represents attribute-modifiers as tokens in WTF.
7: */
8: public abstract class AttributeModifierToken extends KeywordToken {
9:         
10:         /**
11:          * generated.
12:          */
13:         private static final long serialVersionUID = -1497307903140168867L;
14:         
15:         /**
16:          * Protected constructor for {@link AttributeModifierToken}. Use create(...)-Factory instead!
17:          *
18:          * @param position
19:          * represents the start position of an {@link AttributeModifierToken} in the original input.
20:          */
21:         protected AttributeModifierToken(final Position position) {
22:                 super(position);
23:         }
24:         
25:         @Override
26:         public boolean isAttributeModifierToken() {
27:                 return true;
28:         }
29:         
30: }