
com.vladsch.flexmark.parser.block.BlockContinue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark Show documentation
Show all versions of flexmark Show documentation
Core of flexmark-java (implementation of CommonMark for parsing markdown and rendering to HTML)
package com.vladsch.flexmark.parser.block;
import com.vladsch.flexmark.parser.internal.BlockContinueImpl;
/**
* Result object for continuing parsing of a block, see static methods for constructors.
*/
public class BlockContinue {
protected BlockContinue() {
}
public static BlockContinue none() {
return null;
}
public static BlockContinue atIndex(int newIndex) {
return new BlockContinueImpl(newIndex, -1, false);
}
public static BlockContinue atColumn(int newColumn) {
return new BlockContinueImpl(-1, newColumn, false);
}
public static BlockContinue finished() {
return new BlockContinueImpl(-1, -1, true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy