summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/blocks
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2017-03-26 22:55:16 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2017-03-26 22:55:16 -0400
commit0220a17f18899715664812540949196e91ef8d10 (patch)
tree0fc3d419665582a0bdc5d11c913e607fdeb9fbf8 /BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/blocks
parent98cdf435d4974f4cca8f7b4eb4026da2c88cbc4c (diff)
Make BlockReader abstract, with varying impls.
This allows cool things to be accomplished through chaining BlockReaders together without having to handle the block plumbing yourself. The current set of implementations are a simple one that reads blocks from a scanner delimited by a pattern, one that has a queue of blocks it will attempt to pull from before reading, and one that triggers an action before a block is read. As an example use, for FDS, a combo of simple -> triggered -> pushback is used where the triggered is used for prompting the user, and the pushback supports macros.
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/blocks')
0 files changed, 0 insertions, 0 deletions