# loki.backend.style module

class DefaultStyle(linewidth: int = 90, indent_default: int = 2, indent_char: str = ' ')

  Bases: `object`

  Default style class that defines the formatting of generated code.

  linewidth: int = 90
  indent_default: int = 2
  indent_char: str = ' '

class FortranStyle(linewidth: int = 132, indent_default: int = 2, indent_char: str = ' ', associate_indent: int = 2, conditional_indent: int = 2, conditional_end_space: bool = True, loop_indent: int = 2, loop_end_space: bool = True, procedure_spec_indent: int = 2, procedure_body_indent: int = 2, procedure_contains_indent: int = 2, procedure_end_named: bool = True, module_spec_indent: int = 2, module_contains_indent: int = 2, module_end_named: bool = True)

  Bases: `DefaultStyle`

  Style class that defines the output code style for a Fortran backend.

  linewidth: int = 132
  associate_indent: int = 2
  conditional_indent: int = 2
  conditional_end_space: bool = True
  loop_indent: int = 2
  loop_end_space: bool = True
  procedure_spec_indent: int = 2
  procedure_body_indent: int = 2
  procedure_contains_indent: int = 2
  procedure_end_named: bool = True
  module_spec_indent: int = 2
  module_contains_indent: int = 2
  module_end_named: bool = True

class IFSFortranStyle(linewidth: int = 132, indent_default: int = 2, indent_char: str = ' ', associate_indent: int = 0, conditional_indent: int = 2, conditional_end_space: bool = False, loop_indent: int = 2, loop_end_space: bool = False, procedure_spec_indent: int = 0, procedure_body_indent: int = 0, procedure_contains_indent: int = 2, procedure_end_named: bool = True, module_spec_indent: int = 0, module_contains_indent: int = 2, module_end_named: bool = True)

  Bases: `FortranStyle`

  Style class that defines the output code style for a Fortran backend.

  linewidth: int = 132
  associate_indent: int = 0
  conditional_indent: int = 2
  conditional_end_space: bool = False
  loop_indent: int = 2
  loop_end_space: bool = False
  procedure_spec_indent: int = 0
  procedure_body_indent: int = 0
  procedure_contains_indent: int = 2
  procedure_end_named: bool = True
  module_spec_indent: int = 0
  module_contains_indent: int = 2
  module_end_named: bool = True