Class SpecExampleBlock
java.lang.Object
com.vladsch.flexmark.util.ast.Node
com.vladsch.flexmark.util.ast.ContentNode
com.vladsch.flexmark.util.ast.Block
com.vladsch.flexmark.ext.spec.example.SpecExampleBlock
- All Implemented Interfaces:
Content
A SpecExample block node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceprivate BasedSequenceFields inherited from class ContentNode
lineSegmentsFields inherited from class Node
AST_ADAPTER, EMPTY_SEGMENTS, SPLICE -
Constructor Summary
ConstructorsConstructorDescriptionSpecExampleBlock(BasedSequence chars) SpecExampleBlock(BasedSequence chars, BasedSequence openingMarker, List<BasedSequence> segments, BasedSequence closingMarker) -
Method Summary
Modifier and TypeMethodDescriptiongetAst()voidgetAstExtra(@NotNull StringBuilder out) getHtml()@NotNull BasedSequence[]voidsetAst(BasedSequence ast) voidsetAstSeparator(BasedSequence astSeparator) voidsetClosingMarker(BasedSequence closingMarker) voidsetCoordClosingMarker(BasedSequence coordClosingMarker) voidsetCoordOpeningMarker(BasedSequence coordOpeningMarker) voidsetExampleKeyword(BasedSequence exampleKeyword) voidsetHtml(BasedSequence html) voidsetHtmlSeparator(BasedSequence htmlSeparator) voidsetNumber(BasedSequence number) voidsetNumberSeparator(BasedSequence numberSeparator) voidsetOpeningMarker(BasedSequence openingMarker) voidsetOptions(BasedSequence options) voidsetOptionsClosingMarker(BasedSequence optionsClosingMarker) voidsetOptionsKeyword(BasedSequence optionsKeyword) voidsetOptionsOpeningMarker(BasedSequence optionsOpeningMarker) voidsetSection(BasedSequence section) voidsetSource(BasedSequence source) Methods inherited from class ContentNode
getContentChars, getContentChars, getContentLines, getContentLines, getLineChars, getLineCount, getSpanningChars, setContent, setContent, setContent, setContentLine, setContentLinesMethods inherited from class Node
appendChain, appendChild, astChars, astExtraChars, astString, baseSubSequence, baseSubSequence, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, endOfLine, extractChainTo, extractToFirstInChain, getAncestorOfType, getBaseSequence, getBlankLineSibling, getChars, getCharsFromSegments, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEmptyPrefix, getEmptySuffix, getEndLineNumber, getEndOffset, getEndOfLine, getExactChildChars, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getFirstInChain, getGrandParent, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLastInChain, getLeadSegment, getLineColumnAtEnd, getLineNumber, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegmentsForChars, getSourceRange, getStartLineNumber, getStartOffset, getStartOfLine, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, insertChainAfter, insertChainBefore, isOrDescendantOfType, lineColumnAtIndex, lineColumnAtStart, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, segmentSpanCharsToVisible, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, spanningChars, startOfLine, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlink
-
Field Details
-
openingMarker
-
exampleKeyword
-
coordOpeningMarker
-
section
-
numberSeparator
-
number
-
coordClosingMarker
-
optionsKeyword
-
optionsOpeningMarker
-
options
-
optionsClosingMarker
-
source
-
htmlSeparator
-
html
-
astSeparator
-
ast
-
closingMarker
-
-
Constructor Details
-
SpecExampleBlock
public SpecExampleBlock() -
SpecExampleBlock
-
SpecExampleBlock
public SpecExampleBlock(BasedSequence chars, BasedSequence openingMarker, List<BasedSequence> segments, BasedSequence closingMarker)
-
-
Method Details
-
getAstExtra
- Overrides:
getAstExtrain classNode
-
getSegments
- Specified by:
getSegmentsin classNode
-
getOpeningMarker
-
setOpeningMarker
-
getExampleKeyword
-
setExampleKeyword
-
getCoordOpeningMarker
-
setCoordOpeningMarker
-
getSection
-
setSection
-
getNumberSeparator
-
setNumberSeparator
-
getNumber
-
setNumber
-
getCoordClosingMarker
-
setCoordClosingMarker
-
getOptionsKeyword
-
setOptionsKeyword
-
getOptionsOpeningMarker
-
setOptionsOpeningMarker
-
getOptions
-
setOptions
-
getOptionsClosingMarker
-
setOptionsClosingMarker
-
getSource
-
setSource
-
getHtmlSeparator
-
setHtmlSeparator
-
getHtml
-
setHtml
-
getAstSeparator
-
setAstSeparator
-
getAst
-
setAst
-
getClosingMarker
-
setClosingMarker
-