TeX in C
Explore TeX with modern c compiler.
PART 16: The semantic nest

结构体

struct  ListStateRecord
 [#212]: ListStateRecord(366) . 更多...
 

宏定义

#define V_MODE   1
 
#define H_MODE   (V_MODE + MAX_COMMAND + 1)
 
#define M_MODE   (H_MODE + MAX_COMMAND + 1)
 
#define ignoredepth   (-65536000L)
 [#212] prev_depth value that is ignored 更多...
 
#define mode   cur_list.modefield
 [#213] current mode 更多...
 
#define head   cur_list.headfield
 [#213] header node of current list 更多...
 
#define tail   cur_list.tailfield
 [#213] final node on current list 更多...
 
#define prevgraf   cur_list.pgfield
 [#213] number of paragraph lines accumulated 更多...
 
#define aux   cur_list.auxfield
 [#213] auxiliary data about the current list 更多...
 
#define prevdepth   aux.sc
 [#213] the name of |aux| in vertical mode 更多...
 
#define spacefactor   aux.hh.UU.lh
 [#213] part of |aux| in horizontal mode 更多...
 
#define clang   aux.hh.rh
 [#213] the other part of |aux| in horizontal mode 更多...
 
#define incompleatnoad   aux.int_
 [#213] the name of |aux| in math mode 更多...
 
#define modeline   cur_list.mlfield
 [#213] source file line number at beginning of list 更多...
 
#define tailappend(x)   (link(tail) = (x), tail = link(tail))
 [p78#214] 更多...
 

函数

void lexer_semantic_init ()
 [#215] 更多...
 
void print_mode (Integer m)
 
void pushnest (void)
 [#216] enter a new semantic level, save the old. 更多...
 
void popnest (void)
 [#217] leave a semantic level, re-enter the old. 更多...
 
void showactivities (void)
 [#218] displays what TEX is working on, at all levels. 更多...
 

变量

ListStateRecord nest [NEST_SIZE+1]
 [ #211~219: PART 16: THE SEMANTIC NEST ] 更多...
 
UChar nest_ptr
 
UChar max_nest_stack
 
ListStateRecord cur_list
 
Int16 shown_mode
 

详细描述

宏定义说明

◆ aux

#define aux   cur_list.auxfield

[#213] auxiliary data about the current list

◆ clang

#define clang   aux.hh.rh

[#213] the other part of |aux| in horizontal mode

◆ H_MODE

#define H_MODE   (V_MODE + MAX_COMMAND + 1)

◆ head

#define head   cur_list.headfield

[#213] header node of current list

◆ ignoredepth

#define ignoredepth   (-65536000L)

[#212] prev_depth value that is ignored

◆ incompleatnoad

#define incompleatnoad   aux.int_

[#213] the name of |aux| in math mode

◆ M_MODE

#define M_MODE   (H_MODE + MAX_COMMAND + 1)

◆ mode

#define mode   cur_list.modefield

[#213] current mode

◆ modeline

#define modeline   cur_list.mlfield

[#213] source file line number at beginning of list

◆ prevdepth

#define prevdepth   aux.sc

[#213] the name of |aux| in vertical mode

◆ prevgraf

#define prevgraf   cur_list.pgfield

[#213] number of paragraph lines accumulated

◆ spacefactor

#define spacefactor   aux.hh.UU.lh

[#213] part of |aux| in horizontal mode

◆ tail

#define tail   cur_list.tailfield

[#213] final node on current list

◆ tailappend

#define tailappend (   x)    (link(tail) = (x), tail = link(tail))

[p78#214]

◆ V_MODE

#define V_MODE   1

函数说明

◆ lexer_semantic_init()

void lexer_semantic_init ( )

[#215]

[#991] Start a new current page move to page_builder_init

◆ popnest()

void popnest ( void  )

[#217] leave a semantic level, re-enter the old.

◆ print_mode()

void print_mode ( Integer  m)

◆ pushnest()

void pushnest ( void  )

[#216] enter a new semantic level, save the old.

◆ showactivities()

void showactivities ( void  )

[#218] displays what TEX is working on, at all levels.

[#986] Show the status of the current page.

[#219] Show the auxiliary field, a.

变量说明

◆ cur_list

ListStateRecord cur_list

◆ max_nest_stack

UChar max_nest_stack

◆ nest

[ #211~219: PART 16: THE SEMANTIC NEST ]

◆ nest_ptr

UChar nest_ptr

◆ shown_mode

Int16 shown_mode