Package

scalariform

formatter

Permalink

package formatter

Visibility
  1. Public
  2. All

Type Members

  1. trait AnnotationFormatter extends AnyRef

    Permalink
  2. trait CaseClauseFormatter extends AnyRef

    Permalink
  3. trait CommentFormatter extends AnyRef

    Permalink
  4. case class EnsureNewlineAndIndent(indentLevel: Int, relativeTo: Option[Token] = None) extends IntertokenFormatInstruction with Product with Serializable

    Permalink

    Ensures that the interttoken region ends with NEWLINE INDENT.

  5. trait ExprFormatter extends AnyRef

    Permalink
  6. case class FormatResult(predecessorFormatting: Map[Token, IntertokenFormatInstruction], inferredNewlineFormatting: Map[Token, IntertokenFormatInstruction], xmlRewrites: Map[Token, String]) extends Product with Serializable

    Permalink
  7. sealed trait FormatterDirective extends AnyRef

    Permalink
  8. class FormatterDirectiveParser extends JavaTokenParsers

    Permalink
  9. case class FormatterState(indentLevel: Int = 0, indentRelativeToTokenOption: Option[Token] = None, inSingleLineBlock: Boolean = false, expressionBreakHappened: Boolean = false) extends Product with Serializable

    Permalink
  10. trait HasHiddenTokenInfo extends AnyRef

    Permalink
  11. sealed abstract class IntertokenFormatInstruction extends AnyRef

    Permalink
  12. case class PlaceAtColumn(indentLevel: Int, spaces: Int, relativeTo: Option[Token] = None) extends IntertokenFormatInstruction with Product with Serializable

    Permalink

    Places the token at spaces number of spaces after the indent level, padding with spaces if necessary

  13. abstract class ScalaFormatter extends HasFormattingPreferences with TypeFormatter with AnnotationFormatter with ExprFormatter with HasHiddenTokenInfo with TemplateFormatter with XmlFormatter with CaseClauseFormatter with CommentFormatter

    Permalink
  14. trait SpecificFormatter extends AnyRef

    Permalink
  15. trait TemplateFormatter extends AnyRef

    Permalink
  16. case class ToggleFormatting(onOrOff: Boolean) extends FormatterDirective with Product with Serializable

    Permalink
  17. case class ToggleOption(onOrOff: Boolean, optionName: String) extends FormatterDirective with Product with Serializable

    Permalink
  18. trait TypeFormatter extends AnyRef

    Permalink
  19. trait XmlFormatter extends AnyRef

    Permalink

Value Members

  1. object Alignment

    Permalink
  2. object Compact extends IntertokenFormatInstruction with Product with Serializable

    Permalink

    Packs the comments together as compactly as possible, eliminating as much non-comment whitespace as possible while ensuring that the lexer produces the same tokens.

  3. object CompactEnsuringGap extends IntertokenFormatInstruction with Product with Serializable

    Permalink

    Like "Compact", but ensures there is either some comment or a single space.

  4. object CompactPreservingGap extends IntertokenFormatInstruction with Product with Serializable

    Permalink

    Like "Compact", but will keep at least a single space if there was whitespace before

  5. object FormatResult extends Serializable

    Permalink
  6. object FormatterDirectiveParser

    Permalink
  7. object NoFormatResult extends FormatResult

    Permalink
  8. object ScalaFormatter

    Permalink
  9. package preferences

    Permalink

Ungrouped