| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CharPredicate |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static @NotNull SpecialLeadInCharsHandler | |
| public static @NotNull SpecialLeadInCharsHandler | |
| public boolean | Returns: true if sequence was a lead in for the handlerchar sequence appearing as first non-whitespace on a line sequence, @Nullable DataHolder options options, @NotNull Consumer<CharSequence> consumer of char sequences to be called for the leadIn if it is changed by this handler consumer)Escape special lead-in characters which start a block element if first non-whitespace on the line The leadIn sequence is always followed by a space or EOL so if lead in does not require a space to start a block element then test if it starts with the special sequence, otherwise test if it equals the special sequence |
| public boolean | Returns: true if sequence was a lead in for the handlerchar sequence appearing as first non-whitespace on a line sequence, @Nullable DataHolder options options, @NotNull Consumer<CharSequence> consumer of char sequences to be called for the leadIn if it is changed by this handler consumer)UnEscape special lead-in characters which start a block element if first non-whitespace on the line The leadIn sequence is always followed by a space or EOL so if lead in does not require a space to start a block element then test if it starts with the special sequence, otherwise test if it equals the special sequence |
| predicate | back to summary |
|---|---|
| pack-priv final CharPredicate predicate | |
| SpecialLeadInCharsHandler | back to summary |
|---|---|
| protected SpecialLeadInCharsHandler(CharPredicate predicate) | |
| create | back to summary |
|---|---|
public static @NotNull SpecialLeadInCharsHandler create(char leadInChar)
| |
| create | back to summary |
|---|---|
public static @NotNull SpecialLeadInCharsHandler create(@NotNull CharSequence leadInChar)
| |
| escape | back to summary |
|---|---|
| public boolean escape(@NotNull BasedSequence sequence, @Nullable DataHolder options, @NotNull Consumer<CharSequence> consumer) Escape special lead-in characters which start a block element if first non-whitespace on the line The leadIn sequence is always followed by a space or EOL so if lead in does not require a space to start a block element then test if it starts with the special sequence, otherwise test if it equals the special sequence
| |
| unEscape | back to summary |
|---|---|
| public boolean unEscape(@NotNull BasedSequence sequence, @Nullable DataHolder options, @NotNull Consumer<CharSequence> consumer) UnEscape special lead-in characters which start a block element if first non-whitespace on the line The leadIn sequence is always followed by a space or EOL so if lead in does not require a space to start a block element then test if it starts with the special sequence, otherwise test if it equals the special sequence
| |