Package: PathBlock
PathBlock
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PathBlock() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| createSymbol(String, Position) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| next() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
Coverage
1: /**
2:  * 
3:  */
4: package scanner;
5: 
6: import model.Position;
7: import symbols.AbstractSymbol;
8: import symbols.PathSymbol;
9: 
10: /**
11:  * This class represents the third block, the Path.
12:  * 
13:  * @author Hendrik
14:  * 
15:  */
16: public class PathBlock extends DescriptionBlock {
17: 
18:         @Override
19:         protected scanner.DescriptionBlock next() {
20:                 return new OptionBlock();
21:         }
22: 
23:         @Override
24:         protected AbstractSymbol createSymbol(final String collectedContent, final Position position) {
25:                 return new PathSymbol(collectedContent, position);
26:         }
27: 
28: }