73 typedef struct _TidyIndent
84 typedef struct _TidyPrintImpl
#define TY_PRIVATE
Definition: forward.h:29
#define TY_(str)
Definition: forward.h:23
uint * linebuf
The line buffer proper.
Definition: pprint.h:88
int spaces
Indent level of the line.
Definition: pprint.h:75
uint ixInd
Index into the indent[] array.
Definition: pprint.h:94
int attrStringStart
Attribute in-string state.
Definition: pprint.h:77
TidyAllocator * allocator
Allocator.
Definition: pprint.h:86
uint wraphere
Point in the line to wrap text.
Definition: pprint.h:91
uint linelen
Current line length.
Definition: pprint.h:90
uint lbufsize
Current size of the buffer.
Definition: pprint.h:89
int attrValStart
Attribute in-value state.
Definition: pprint.h:76
uint line
Current line.
Definition: pprint.h:92
PrettyPrintMode
This typedef represents the current pretty-printing mode, and instructs the printer behavior per the ...
Definition: pprint.h:50
@ ATTRIBVALUE
An attribute's value.
Definition: pprint.h:54
@ NORMAL
Normal output.
Definition: pprint.h:51
@ PREFORMATTED
Preformatted output.
Definition: pprint.h:52
@ CDATA
CDATA content.
Definition: pprint.h:56
@ COMMENT
Comment.
Definition: pprint.h:53
@ NOWRAP
Content that should not be wrapped.
Definition: pprint.h:55
A record of the state of a single line, capturing the indent level, in-attribute, and in-string state...
Definition: pprint.h:74
The pretty-printing buffer.
Definition: pprint.h:85