C# Class StatePrinting.OutputFormatters.CurlyBraceStyle

Formatting the tokens to a curly-brace style representation. In order to reduce clutter in the output, only reference that are referred to by later outputted objects will have a referencenumber attached to them.
Inheritance: IOutputFormatter
Exibir arquivo Open project: kbilsted/StatePrinter

Public Methods

Method Description
CurlyBraceStyle ( Configuration configuration ) : System
Print ( List tokens ) : string

Private Methods

Method Description
MakeFieldValue ( Token token, string value ) : string
MakeString ( IEnumerable tokens ) : string
MakeTokenString ( Token token, IndentingStringBuilder sb ) : void

Method Details

CurlyBraceStyle() public method

public CurlyBraceStyle ( Configuration configuration ) : System
configuration StatePrinting.Configurations.Configuration
return System

Print() public method

public Print ( List tokens ) : string
tokens List
return string