public interface DelimiterRun
***.| Modifier and Type | Method and Description |
|---|---|
boolean |
canClose() |
boolean |
canOpen() |
Text |
getCloser() |
Iterable<Text> |
getClosers(int length)
Get the closing delimiter nodes for the specified length of delimiters.
|
Text |
getOpener() |
Iterable<Text> |
getOpeners(int length)
Get the opening delimiter nodes for the specified length of delimiters.
|
int |
length() |
int |
originalLength() |
boolean canOpen()
boolean canClose()
int length()
int originalLength()
length()}Text getOpener()
*** this is the last *Text getCloser()
*** this is the first *Iterable<Text> getOpeners(int length)
length().
For example, for a delimiter run ***, calling this with 1 would return the last *.
Calling it with 2 would return the second last * and the last *.
Iterable<Text> getClosers(int length)
length().
For example, for a delimiter run ***, calling this with 1 would return the first *.
Calling it with 2 would return the first * and the second *.
Copyright © 2021. All rights reserved.