blob: 6be0e7f6f5683529abe2e8a4b6b9b012e2f3a5c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package bjc.utils.parserutils.splitter;
import bjc.funcdata.*;
/**
* The token splitter that doesn't actually perform any splitting.
*
* @author Ben Culkin
*
*/
public class IdentityTokenSplitter implements TokenSplitter {
@Override
public IList<String> split(String input) {
return new FunctionalList<>(input);
}
}
|