Interface IOutputFormatter

All Known Implementing Classes:
TextOutputFormatter

public interface IOutputFormatter
  • Method Details

    • startNode

      void startNode(AstNode node)
    • endNode

      void endNode(AstNode node)
    • writeLabel

      void writeLabel(String label)
    • writeIdentifier

      void writeIdentifier(String identifier)
    • writeKeyword

      void writeKeyword(String keyword)
    • writeOperator

      void writeOperator(String token)
    • writeDelimiter

      void writeDelimiter(String token)
    • writeToken

      void writeToken(String token)
    • writeLiteral

      void writeLiteral(String value)
    • writeTextLiteral

      void writeTextLiteral(String value)
    • writeTextBlock

      void writeTextBlock(String value)
    • space

      void space()
    • openBrace

      void openBrace(BraceStyle style)
    • closeBrace

      void closeBrace(BraceStyle style)
    • indent

      void indent()
    • unindent

      void unindent()
    • newLine

      void newLine()
    • writeComment

      void writeComment(CommentType commentType, String content)
    • resetLineNumberOffsets

      void resetLineNumberOffsets(OffsetToLineNumberConverter offset2LineNumber)
      instructs 'this' formatter to forget what it used to know about the sequence of line number offsets in the source code