Quick Links:

bal | bbl | bdl | bsl

Namespaces

Component balxml_formatter_prettyimpl
[Package balxml]

Provide pretty-printing implementation for balxml_formatter. More...

Namespaces

namespace  balxml

Detailed Description

Outline
Purpose:
Provide pretty-printing implementation for balxml_formatter.
Classes:
balxml::Formatter_PrettyImplState state of formatter state machine
balxml::Formatter_PrettyImplStateId labels for formatter state
balxml::Formatter_PrettyImplUtil actions of formatter state machine
Description:
This private, subordinate component to balxml_formatter provides an in-core value semantic attribute class, balxml::Formatter_PrettyImplState, and a utility struct, balxml::Formatter_PrettyImplUtil, that implements XML pretty-printing operations using the state value type. These two classes work in conjunction to implement a state machine for pretty-printing an XML document given a sequence of tokens to emit. The class balxml::Formatter_PrettyImplStateId enumerates the set of labels for distinct states of balxml::Formatter_PrettyImplState, upon which most control-flow decisions of balxml::Formatter_PrettyImplUtil are based.