Classes | Functions
Balau::Lang::Property::AST Namespace Reference

The Property parser abstract syntax tree node classes. More...

Classes

class  CommentPropertyNode
 Comment property node. More...
 
class  CompositeProperty
 Composite name-value property node. More...
 
class  EmptyLinePropertyNode
 Represents a blank line in a property file. More...
 
class  IncludePropertyNode
 Include property node. More...
 
class  Properties
 The outer structure. More...
 
class  PropertyAstToString
 The property AST visitor used in the property AST toString implementation. More...
 
class  PropertyAstToStringPayload
 The payload used in the property AST toString implementation. More...
 
class  PropertyNode
 Abstract base class of Property AST node classes. More...
 
class  ValueProperty
 Simple name-value property node. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const PropertyNode &object)
 Pretty print the supplied AST to the output stream. More...
 
std::string toString (const PropertyNode &object)
 The property AST toString function. More...
 

Detailed Description

The Property parser abstract syntax tree node classes.

Function Documentation

◆ operator<<()

std::ostream& Balau::Lang::Property::AST::operator<< ( std::ostream &  stream,
const PropertyNode object 
)
inline

Pretty print the supplied AST to the output stream.

◆ toString()

Balau::U8String< AllocatorT > toString ( const PropertyNode object)
inline

The property AST toString function.

The property AST toString<AllocatorT> function.

Pretty print the supplied AST and return as a UTF-8 string.

Returns
a string containing the represented properties