Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Classes Asn1PrintfErrorHandler

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module juptune.asn1.lang.tooling;

final class Asn1PrintfErrorHandler : Asn1ErrorHandler
{
    /++ FUNCTIONS ++/
    
    ///
    override void dedent();
    ///
    override void endLine();
    ///
    override void indent();
    ///
    override void putInLine(const char[] slice);
    ///
    override void startLine(Asn1Location location);
    /// Returns: Whether startLine was called at least once - can be used to detect if an error occurred or not. 
    bool wasCalled();
    
}

Documentation

A semantic error handler that immediately passes data into printf.

This is useful for @nogc tools, or other applications where only one thread can write to stdout.

Functions

Name Description
dedent
endLine
indent
putInLine
startLine
wasCalled

Returns: Whether startLinewas called at least once - can be used to detect if an error occurred or not.