summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/parserutils/TokenSplitter.java
AgeCommit message (Collapse)Author
2017-03-20Add more features to sequence delimiter.bjculkin
Two main features were added. One, various sequence closers can imply a subgroup. This is mainly useful in contexts like arrays, where you want one subgroup per array element. Two, predicated opening/closing delimiters. These allow having both an infinite set of opening delimiters, as well as having a set of closers that is both infinite and dependant on what the opener was. Note, however, that predicated openers and closers will be slower than using normal openers/closers, since every one has to be tried to check if a token is a opener/closer.
2017-03-19Fix subgroups.bjculkin
This fixes subgroups, by mostly rewriting the way the delimiter works.
2017-03-18Attempt to get subgroups workingbjculkin
2017-03-17Move parsing utilities.bjculkin
Moved the parsing utilities SequenceDelimiter and TokenSplitter to the parserutils package, instead of the funcutils package.