package Ġrs . pe st . format Ċ Ċ import Ġcom . intellij . formatting .* Ċ import Ġcom . intellij . lang . AST Node Ċ import Ġcom . intellij . psi . TokenType Ċ import Ġcom . intellij . psi . formatter . common . Abstract Block Ċ import Ġrs . pe st . psi . children With Le aves Ċ Ċ class ĠPest Simple Block ( Ċ ĉ private Ġval Ġspacing : ĠSp acing Builder , Ċ ĉ node : ĠAST Node , Ċ ĉ wrap : ĠWrap ?, Ċ ĉ alignment : ĠAlignment ? Ċ ) Ġ: ĠAbstract Block ( node , Ġwrap , Ġalignment ) Ġ{ Ċ ĉ override Ġfun Ġget Spacing ( lhs : ĠBlock ?, Ġrhs : ĠBlock ) Ġ= Ġspacing . get Spacing ( this , Ġlhs , Ġrhs ) Ċ ĉ override Ġfun Ġis Leaf () Ġ= Ġnode . firstChild Node Ġ== Ġnull Ċ ĉ override Ġfun Ġget Indent () Ġ= ĠInd ent . get None Indent () Ċ ĉ override Ġfun Ġbuild Children (): ĠMutable List < Block > Ġ= Ġnode Ċĉ ĉ . children With Le aves Ċĉ ĉ . filter Ġ{ Ġit . elementType Ġ!= ĠTokenType . WHITE _ SPACE Ġ} Ċĉ ĉ . map Ġ{ ĠPest Simple Block ( spacing , Ġit , ĠWrap . create Wrap ( Wrap Type . NONE , Ġfalse ), ĠAlignment . create Alignment ()) Ġ} Ċĉ ĉ . to Mutable List () Ċ } Ċ