NetSurf
Public Types | Data Fields
parse_context Struct Reference
Collaboration diagram for parse_context:
[legend]

Public Types

enum  {
  START, IN_HEADER, BEFORE_ID, GLYPH_ID,
  BEFORE_GLYPH_DATA, IN_GLYPH_DATA
}
 

Data Fields

enum parse_context:: { ... }  state
 Current parser state. More...
 
union {
   struct {
      bool   new_line
 
   }   in_header
 
   struct {
      bool   new_line
 
      bool   u
 
   }   before_id
 
   struct {
      int   c
 
   }   g_id
 
   struct {
      bool   new_line
 
      bool   prev_h
 
      bool   prev_s
 
      int   c
 
   }   before_gd
 
   struct {
      int   line
 
      int   pos
 
      int   styles
 
      int   line_styles
 
      glyph_entry *   e [4]
 
   }   in_gd
 
data
 The state specific data. More...
 
int id
 Current ID. More...
 
int codepoints
 Glyphs containing codepoints. More...
 
int count [4]
 Count of glyphs in file. More...
 

Detailed Description

Definition at line 220 of file convert_font.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
START 
IN_HEADER 
BEFORE_ID 
GLYPH_ID 
BEFORE_GLYPH_DATA 
IN_GLYPH_DATA 

Definition at line 221 of file convert_font.c.

Field Documentation

◆ before_gd

struct { ... } parse_context::before_gd

Referenced by parse_chunk().

◆ before_id

struct { ... } parse_context::before_id

Referenced by parse_chunk(), and parse_glyph_data().

◆ c

int parse_context::c

Definition at line 239 of file convert_font.c.

◆ codepoints

int parse_context::codepoints

Glyphs containing codepoints.

Definition at line 258 of file convert_font.c.

Referenced by load_font(), and parse_glyph_data().

◆ count

int parse_context::count[4]

Count of glyphs in file.

Definition at line 259 of file convert_font.c.

Referenced by load_font(), parse_chunk(), and parse_glyph_data().

◆ data

union { ... } parse_context::data

The state specific data.

Referenced by parse_chunk(), and parse_glyph_data().

◆ e

glyph_entry* parse_context::e[4]

Definition at line 252 of file convert_font.c.

◆ g_id

struct { ... } parse_context::g_id

Referenced by parse_chunk().

◆ id

int parse_context::id

Current ID.

Definition at line 256 of file convert_font.c.

Referenced by parse_chunk(), and parse_glyph_data().

◆ in_gd

struct { ... } parse_context::in_gd

Referenced by parse_chunk(), and parse_glyph_data().

◆ in_header

struct { ... } parse_context::in_header

Referenced by parse_chunk().

◆ line

int parse_context::line

Definition at line 248 of file convert_font.c.

◆ line_styles

int parse_context::line_styles

Definition at line 251 of file convert_font.c.

◆ new_line

bool parse_context::new_line

Definition at line 232 of file convert_font.c.

◆ pos

int parse_context::pos

Definition at line 249 of file convert_font.c.

◆ prev_h

bool parse_context::prev_h

Definition at line 243 of file convert_font.c.

◆ prev_s

bool parse_context::prev_s

Definition at line 244 of file convert_font.c.

◆ state

enum { ... } parse_context::state

Current parser state.

Referenced by load_font(), parse_chunk(), and parse_glyph_data().

◆ styles

int parse_context::styles

Definition at line 250 of file convert_font.c.

◆ u

bool parse_context::u

Definition at line 236 of file convert_font.c.


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