Class MacroAttribute

  • All Implemented Interfaces:
    com.vladsch.flexmark.util.ast.DoNotDecorate

    public class MacroAttribute
    extends com.vladsch.flexmark.util.ast.Node
    implements com.vladsch.flexmark.util.ast.DoNotDecorate
    A macros node
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.vladsch.flexmark.util.sequence.BasedSequence attribute  
      protected com.vladsch.flexmark.util.sequence.BasedSequence closingMarker  
      protected com.vladsch.flexmark.util.sequence.BasedSequence openingMarker  
      protected com.vladsch.flexmark.util.sequence.BasedSequence separator  
      protected com.vladsch.flexmark.util.sequence.BasedSequence value  
      • Fields inherited from class com.vladsch.flexmark.util.ast.Node

        AST_ADAPTER, EMPTY_SEGMENTS, SPLICE
    • Constructor Summary

      Constructors 
      Constructor Description
      MacroAttribute()  
      MacroAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence chars)  
      MacroAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence attribute, com.vladsch.flexmark.util.sequence.BasedSequence separator, com.vladsch.flexmark.util.sequence.BasedSequence openingMarker, com.vladsch.flexmark.util.sequence.BasedSequence value, com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getAstExtra​(@NotNull StringBuilder out)  
      com.vladsch.flexmark.util.sequence.BasedSequence getAttribute()  
      com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()  
      com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()  
      @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()  
      com.vladsch.flexmark.util.sequence.BasedSequence getSeparator()  
      com.vladsch.flexmark.util.sequence.BasedSequence getValue()  
      void setAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence attribute)  
      void setClosingMarker​(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)  
      void setOpeningMarker​(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)  
      void setSeparator​(com.vladsch.flexmark.util.sequence.BasedSequence separator)  
      void setValue​(com.vladsch.flexmark.util.sequence.BasedSequence value)  
      • Methods inherited from class com.vladsch.flexmark.util.ast.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, getParent, 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, setParent, spanningChars, startOfLine, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlink
    • Field Detail

      • attribute

        protected com.vladsch.flexmark.util.sequence.BasedSequence attribute
      • separator

        protected com.vladsch.flexmark.util.sequence.BasedSequence separator
      • openingMarker

        protected com.vladsch.flexmark.util.sequence.BasedSequence openingMarker
      • value

        protected com.vladsch.flexmark.util.sequence.BasedSequence value
      • closingMarker

        protected com.vladsch.flexmark.util.sequence.BasedSequence closingMarker
    • Constructor Detail

      • MacroAttribute

        public MacroAttribute()
      • MacroAttribute

        public MacroAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence chars)
      • MacroAttribute

        public MacroAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence attribute,
                              com.vladsch.flexmark.util.sequence.BasedSequence separator,
                              com.vladsch.flexmark.util.sequence.BasedSequence openingMarker,
                              com.vladsch.flexmark.util.sequence.BasedSequence value,
                              com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
    • Method Detail

      • getSegments

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
        Specified by:
        getSegments in class com.vladsch.flexmark.util.ast.Node
      • getAstExtra

        public void getAstExtra​(@NotNull
                                @NotNull StringBuilder out)
        Overrides:
        getAstExtra in class com.vladsch.flexmark.util.ast.Node
      • getAttribute

        public com.vladsch.flexmark.util.sequence.BasedSequence getAttribute()
      • setAttribute

        public void setAttribute​(com.vladsch.flexmark.util.sequence.BasedSequence attribute)
      • getSeparator

        public com.vladsch.flexmark.util.sequence.BasedSequence getSeparator()
      • setSeparator

        public void setSeparator​(com.vladsch.flexmark.util.sequence.BasedSequence separator)
      • getOpeningMarker

        public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
      • setOpeningMarker

        public void setOpeningMarker​(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
      • getValue

        public com.vladsch.flexmark.util.sequence.BasedSequence getValue()
      • setValue

        public void setValue​(com.vladsch.flexmark.util.sequence.BasedSequence value)
      • getClosingMarker

        public com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()
      • setClosingMarker

        public void setClosingMarker​(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)