Bash++
Bash++ compiler internal documentation
Public Member Functions | Static Private Attributes | List of all members
NullOStream Class Reference

An output stream that discards all output This is used in the language server to parse programs without generating any compiled code, by setting the Listener's code_buffer to an instance of NullOStream. More...

#include <NullStream.h>

Inheritance diagram for NullOStream:
Inheritance graph
[legend]
Collaboration diagram for NullOStream:
Collaboration graph
[legend]

Public Member Functions

 NullOStream ()
 

Static Private Attributes

static NullBuffer null_buffer
 

Detailed Description

An output stream that discards all output This is used in the language server to parse programs without generating any compiled code, by setting the Listener's code_buffer to an instance of NullOStream.

In the future, it's likely that AST traversal will be separated from code generation, which will eliminate the need for this class.

Constructor & Destructor Documentation

◆ NullOStream()

NullOStream::NullOStream ( )
inline

Member Data Documentation

◆ null_buffer

NullBuffer NullOStream::null_buffer
inlinestaticprivate

The documentation for this class was generated from the following file: