com.vladsch.flexmark.util.ast.BlankLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package com.vladsch.flexmark.util.ast;
import com.vladsch.flexmark.util.sequence.BasedSequence;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class BlankLine extends Block {
private Block claimedBlankLine = null;
public boolean isClaimed() {
return claimedBlankLine != null;
}
@Nullable
public Block getClaimedBlankLine() {
return claimedBlankLine;
}
@SuppressWarnings("UnusedReturnValue")
public BlankLine setClaimedBlankLine(@NotNull Block claimedBlankLine) {
this.claimedBlankLine = claimedBlankLine;
return this;
}
public BlankLine(@NotNull BasedSequence chars) {
super(chars);
setCharsFromContent();
}
public BlankLine(@NotNull BasedSequence chars, @NotNull Block claimedBlankLine) {
super(chars);
setCharsFromContent();
this.claimedBlankLine = claimedBlankLine;
}
@NotNull
@Override
public BasedSequence[] getSegments() {
return EMPTY_SEGMENTS;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy