C# Class StatePrinting.OutputFormatters.XmlStyle

Formatting the tokens to an XML 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
Afficher le fichier Open project: kbilsted/StatePrinter

Méthodes publiques

Méthode Description
Print ( List tokens ) : string
XmlStyle ( Configuration configuration ) : System

Private Methods

Méthode Description
MakeString ( List tokens ) : string
MakeTokenString ( Token token, IndentingStringBuilder sb, Stack endTags ) : void
TagName ( Token token, string &keyAttr ) : string
Unquote ( string s ) : string

Method Details

Print() public méthode

public Print ( List tokens ) : string
tokens List
Résultat string

XmlStyle() public méthode

public XmlStyle ( Configuration configuration ) : System
configuration StatePrinting.Configurations.Configuration
Résultat System