Top Fields Constructors Methods
com.vladsch.flexmark.ast

public Class FencedCodeBlock

extends Block
implements DoNotDecorate
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.DoNotDecorate
Imports
com.vladsch.flexmark.util.ast.Block, .DoNotDecorate, com.vladsch.flexmark.util.misc.CharPredicate, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, java.util.List

Field Summary

Modifier and TypeField and Description
private BasedSequence
private BasedSequence
private int
private BasedSequence
private BasedSequence

Constructor Summary

AccessConstructor and Description
public
public
public
FencedCodeBlock(BasedSequence chars, BasedSequence openingMarker, BasedSequence info, List<BasedSequence> segments, BasedSequence closingMarker)

Method Summary

Modifier and TypeMethod and Description
public void
public BasedSequence
public BasedSequence
public BasedSequence
public int
public int
public BasedSequence

Returns:

the sequence for the info part of the node
getInfo
()

public BasedSequence
public BasedSequence
public BasedSequence
public @NotNull BasedSequence[]
public void
public void
public void
setFenceIndent(int fenceIndent)

public void
public void
Inherited from com.vladsch.flexmark.util.ast.Block:
getParentsetParent

Field Detail

attributesback to summary
private BasedSequence attributes
closingMarkerback to summary
private BasedSequence closingMarker
fenceIndentback to summary
private int fenceIndent
infoback to summary
private BasedSequence info
openingMarkerback to summary
private BasedSequence openingMarker

Constructor Detail

FencedCodeBlockback to summary
public FencedCodeBlock()
FencedCodeBlockback to summary
public FencedCodeBlock(BasedSequence chars)
FencedCodeBlockback to summary
public FencedCodeBlock(BasedSequence chars, BasedSequence openingMarker, BasedSequence info, List<BasedSequence> segments, BasedSequence closingMarker)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getAttributesback to summary
public BasedSequence getAttributes()
getClosingFenceback to summary
public BasedSequence getClosingFence()
getClosingMarkerback to summary
public BasedSequence getClosingMarker()
getFenceIndentback to summary
public int getFenceIndent()
getFenceLengthback to summary
public int getFenceLength()
getInfoback to summary
public BasedSequence getInfo()
Returns:BasedSequence

the sequence for the info part of the node

See Also
CommonMark spec
getInfoDelimitedByAnyback to summary
public BasedSequence getInfoDelimitedByAny(CharPredicate delimiters)
getOpeningFenceback to summary
public BasedSequence getOpeningFence()
getOpeningMarkerback to summary
public BasedSequence getOpeningMarker()
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

Implements abstract com.vladsch.flexmark.util.ast.Node.getSegments.

Annotations
@NotNull
@Override
setAttributesback to summary
public void setAttributes(BasedSequence attributes)
setClosingMarkerback to summary
public void setClosingMarker(BasedSequence closingMarker)
setFenceIndentback to summary
public void setFenceIndent(int fenceIndent)
setInfoback to summary
public void setInfo(BasedSequence info)
setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)