class Mint::Formatter
- Mint::Formatter
- Reference
- Object
Defined in:
formatter.crformatter/processor.cr
formatter/renderer.cr
formatters/access.cr
formatters/argument.cr
formatters/array_destructuring.cr
formatters/array_literal.cr
formatters/await.cr
formatters/block.cr
formatters/bool_literal.cr
formatters/bracket_access.cr
formatters/builtin.cr
formatters/call.cr
formatters/case.cr
formatters/case_branch.cr
formatters/comment.cr
formatters/component.cr
formatters/connect.cr
formatters/connect_variable.cr
formatters/constant.cr
formatters/css_definition.cr
formatters/css_font_face.cr
formatters/css_keyframes.cr
formatters/css_nested_at.cr
formatters/css_selector.cr
formatters/dbg.cr
formatters/decode.cr
formatters/defer.cr
formatters/directives/asset.cr
formatters/directives/format.cr
formatters/directives/highlight.cr
formatters/directives/highlight_file.cr
formatters/directives/inline.cr
formatters/directives/svg.cr
formatters/discard.cr
formatters/emit.cr
formatters/encode.cr
formatters/env.cr
formatters/field.cr
formatters/field_access.cr
formatters/for.cr
formatters/function.cr
formatters/get.cr
formatters/here_document.cr
formatters/html.cr
formatters/html_attribute.cr
formatters/html_component.cr
formatters/html_element.cr
formatters/html_fragment.cr
formatters/html_style.cr
formatters/id.cr
formatters/if.cr
formatters/inline_function.cr
formatters/interpolation.cr
formatters/js.cr
formatters/list.cr
formatters/locale.cr
formatters/locale_key.cr
formatters/map.cr
formatters/map_field.cr
formatters/module.cr
formatters/negated_expression.cr
formatters/next_call.cr
formatters/number_literal.cr
formatters/operation.cr
formatters/parenthesized_expression.cr
formatters/pipe.cr
formatters/property.cr
formatters/provider.cr
formatters/record.cr
formatters/record_update.cr
formatters/regexp_literal.cr
formatters/return_call.cr
formatters/route.cr
formatters/routes.cr
formatters/signal.cr
formatters/spread.cr
formatters/state.cr
formatters/state_setter.cr
formatters/statement.cr
formatters/store.cr
formatters/string_literal.cr
formatters/style.cr
formatters/suite.cr
formatters/test.cr
formatters/top_level.cr
formatters/tuple_destructuring.cr
formatters/tuple_literal.cr
formatters/type.cr
formatters/type_definition.cr
formatters/type_definition_field.cr
formatters/type_destructuring.cr
formatters/type_variable.cr
formatters/type_variant.cr
formatters/unary_minus.cr
formatters/use.cr
formatters/variable.cr
Constructors
Instance Method Summary
- #break_not_fits(**params)
- #broken_string(**params)
-
#config : Config
The configuration.
- #entity(**params)
- #format(nodes : Array(Ast::Node | String), separator : String) : Nodes
- #format(node : Ast::Access) : Nodes
- #format(node : Ast::Argument) : Nodes
- #format(node : Ast::ArrayDestructuring) : Nodes
- #format(node : Ast::ArrayLiteral) : Nodes
- #format(node : Ast::Await) : Nodes
- #format(node : Ast::Block, format = BlockFormat::Block) : Nodes
- #format(node : Ast::BoolLiteral) : Nodes
- #format(node : Ast::BracketAccess) : Nodes
- #format(node : Ast::Builtin) : Nodes
- #format(node : Ast::Call) : Nodes
- #format(node : Ast::Case) : Nodes
- #format(node : Ast::CaseBranch) : Nodes
- #format(node : Ast::Comment) : Nodes
- #format(node : Ast::Component) : Nodes
- #format(node : Ast::Connect) : Nodes
- #format(node : Ast::ConnectVariable) : Nodes
- #format(node : Ast::Constant) : Nodes
- #format(node : Ast::CssDefinition) : Nodes
- #format(node : Ast::CssFontFace) : Nodes
- #format(node : Ast::CssKeyframes) : Nodes
- #format(node : Ast::CssNestedAt) : Nodes
- #format(node : Ast::CssSelector) : Nodes
- #format(node : Ast::Dbg) : Nodes
- #format(node : Ast::Decode) : Nodes
- #format(node : Ast::Defer) : Nodes
- #format(node : Ast::Discard) : Nodes
- #format(node : Ast::Emit) : Nodes
- #format(node : Ast::Encode) : Nodes
- #format(node : Ast::Env) : Nodes
- #format(node : Ast::Field) : Nodes
- #format(node : Ast::FieldAccess) : Nodes
- #format(node : Ast::For) : Nodes
- #format(node : Ast::Function) : Nodes
- #format(node : Ast::Get) : Nodes
- #format(node : Ast::HereDocument) : Nodes
- #format(node : Ast::HtmlAttribute) : Nodes
- #format(node : Ast::HtmlComponent) : Nodes
- #format(node : Ast::HtmlElement) : Nodes
- #format(node : Ast::HtmlFragment) : Nodes
- #format(node : Ast::HtmlStyle) : Nodes
- #format(node : Ast::Id) : Nodes
- #format(node : Ast::If) : Nodes
- #format(node : Ast::InlineFunction) : Nodes
- #format(node : Ast::Interpolation) : Nodes
- #format(node : Ast::Js) : Nodes
- #format(node : Ast::Locale) : Nodes
- #format(node : Ast::LocaleKey) : Nodes
- #format(node : Ast::Map) : Nodes
- #format(node : Ast::MapField) : Nodes
- #format(node : Ast::Module) : Nodes
- #format(node : Ast::NegatedExpression) : Nodes
- #format(node : Ast::NextCall) : Nodes
- #format(node : Ast::NumberLiteral) : Nodes
- #format(node : Ast::Operation) : Nodes
- #format(node : Ast::ParenthesizedExpression) : Nodes
- #format(node : Ast::Pipe) : Nodes
- #format(node : Ast::Property) : Nodes
- #format(node : Ast::Provider) : Nodes
- #format(node : Ast::Record, multiline = false) : Nodes
- #format(node : Ast::RecordUpdate) : Nodes
- #format(node : Ast::RegexpLiteral) : Nodes
- #format(node : Ast::ReturnCall) : Nodes
- #format(node : Ast::Route) : Nodes
- #format(node : Ast::Routes) : Nodes
- #format(node : Ast::Signal) : Nodes
- #format(node : Ast::Spread) : Nodes
- #format(node : Ast::State) : Nodes
- #format(node : Ast::StateSetter) : Nodes
- #format(node : Ast::Statement, newline = true) : Nodes
- #format(node : Ast::Store) : Nodes
- #format(node : Ast::StringLiteral) : Nodes
- #format(node : Ast::Style) : Nodes
- #format(node : Ast::Suite) : Nodes
- #format(node : Ast::Test) : Nodes
- #format(ast : Ast) : String
- #format(node : Ast::TupleDestructuring) : Nodes
- #format(node : Ast::TupleLiteral) : Nodes
- #format(node : Ast::Type) : Nodes
- #format(node : Ast::TypeDefinition) : Nodes
- #format(node : Ast::TypeDefinitionField) : Nodes
- #format(node : Ast::TypeDestructuring) : Nodes
- #format(node : Ast::TypeVariable) : Nodes
- #format(node : Ast::TypeVariant) : Nodes
- #format(node : Ast::UnaryMinus) : Nodes
- #format(node : Ast::Use) : Nodes
- #format(node : Ast::Variable) : Nodes
- #format(node : Ast::Directives::Asset) : Nodes
- #format(node : Ast::Directives::Format) : Nodes
- #format(node : Ast::Directives::Highlight) : Nodes
- #format(node : Ast::Directives::HighlightFile) : Nodes
- #format(node : Ast::Directives::Inline) : Nodes
- #format(node : Ast::Directives::Svg) : Nodes
- #format(nodes : Array(Ast::Node | String)) : Nodes
- #format(node : Ast::Node) : Nodes
- #format(node : String) : Nodes
- #format(node : Nil) : Nodes
- #format(*, node : Ast::HtmlElement | Ast::HtmlComponent, prefix : Nodes, tag : Nodes) : Nodes
- #format(node : T | Nil, &block : T -> Nodes) forall T
- #format!(value : Nil) : Nil
- #format!(*args, **named) : String
- #format_arguments(nodes : Array(Ast::Node), *, empty_parenthesis = true) : Nodes
- #format_documentation_comment(node : Ast::Comment | Nil) : Nodes
- #group(**params)
- #list(nodes : Array(Ast::Node), delimeter : String | Nil = nil) : Nodes
- #list(**params)
- #nested_string(**params)