HTML Tidy 5.8.0
The HTACG Tidy HTML Project
 
Loading...
Searching...
No Matches
Message Muting

Detailed Description

Message types included in the mute option will be be printed in messageOut().

Data Structures

struct  TidyMutedMessages
 Maintains a list of messages not to display. More...
 

Functions

TY_PRIVATE void TY_❪DefineMutedMessage❫ (TidyDocImpl *doc, const TidyOptionImpl *opt, ctmbstr name)
 Adds a new message ID to the list of muted messages.
 
TY_PRIVATE void TY_❪FreeMutedMessageList❫ (TidyDocImpl *doc)
 Frees the list of muted messages.
 
TY_PRIVATE TidyIterator TY_❪getMutedMessageList❫ (TidyDocImpl *doc)
 Start an iterator for muted messages.
 
TY_PRIVATE ctmbstr TY_❪getNextMutedMessage❫ (TidyDocImpl *doc, TidyIterator *iter)
 Get the next priority attribute.
 

Data Structure Documentation

◆ TidyMutedMessages

struct TidyMutedMessages

Maintains a list of messages not to display.

Data Fields
uint capacity Current capacity of the list.
uint count Current count of the list.
tidyStrings * list A list of messages that won't be output.

Function Documentation

◆ TY_❪DefineMutedMessage❫()

TY_PRIVATE void TY_❪DefineMutedMessage❫ ( TidyDocImpl * doc,
const TidyOptionImpl * opt,
ctmbstr name )

Adds a new message ID to the list of muted messages.

Parameters
docThe Tidy document.
optThe option that is defining the muted message.
nameThe message code as a string.

◆ TY_❪FreeMutedMessageList❫()

TY_PRIVATE void TY_❪FreeMutedMessageList❫ ( TidyDocImpl * doc)

Frees the list of muted messages.

Parameters
docThe Tidy document.

◆ TY_❪getMutedMessageList❫()

TY_PRIVATE TidyIterator TY_❪getMutedMessageList❫ ( TidyDocImpl * doc)

Start an iterator for muted messages.

Parameters
docThe Tidy document.
Returns
Returns an iterator token.

◆ TY_❪getNextMutedMessage❫()

TY_PRIVATE ctmbstr TY_❪getNextMutedMessage❫ ( TidyDocImpl * doc,
TidyIterator * iter )

Get the next priority attribute.

Parameters
docThe Tidy document.
iterThe iterator token.
Returns
The next priority attribute.