Skip to content

Package: StateCreater

StateCreater

Coverage

1: package de.fhdw.wtf.dsl.scanner.common;
2:
3: import de.fhdw.wtf.common.token.Position;
4:
5: /**
6: * Interface for {@link ScannerState} creation.
7: *
8: * Used to write anonymous Classes for {@link Delta} creation.
9: *
10: */
11: public interface StateCreater {
12:         
13:         /**
14:          * Returns a new {@link ScannerState} with given position.
15:          *
16:          * @param position
17:          * Position of the new {@link ScannerState}
18:          * @return created {@link ScannerState}
19:          */
20:         ScannerState create(Position position);
21: }