Libcroco
Data Fields
_CRTknzrPriv Struct Reference

Data Fields

CRInputinput
 The parser input stream of bytes. More...
 
CRTokentoken_cache
 A cache where tknzr_unget_token() puts back the token. More...
 
CRInputPos prev_pos
 The position of the end of the previous token or char fetched. More...
 
CRDocHandlersac_handler
 
glong ref_count
 The reference count of the current instance of CRTknzr. More...
 

Detailed Description

Definition at line 34 of file cr-tknzr.c.

Field Documentation

◆ input

CRInput* _CRTknzrPriv::input

The parser input stream of bytes.

Definition at line 36 of file cr-tknzr.c.

◆ prev_pos

CRInputPos _CRTknzrPriv::prev_pos

The position of the end of the previous token or char fetched.

Definition at line 51 of file cr-tknzr.c.

◆ ref_count

glong _CRTknzrPriv::ref_count

The reference count of the current instance of CRTknzr.

Is manipulated by cr_tknzr_ref() and cr_tknzr_unref().

Definition at line 60 of file cr-tknzr.c.

◆ sac_handler

CRDocHandler* _CRTknzrPriv::sac_handler

Definition at line 53 of file cr-tknzr.c.

◆ token_cache

CRToken* _CRTknzrPriv::token_cache

A cache where tknzr_unget_token() puts back the token.

tknzr_get_next_token() first look in this cache, and if and only if it's empty, fetches the next token from the input stream.

Definition at line 45 of file cr-tknzr.c.


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