TeX in C
Explore TeX with modern c compiler.
expand.h 文件参考
#include <stdio.h>
#include "global.h"
expand.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define INC_EXPAND_H
 expand . 更多...
 
#define STORE_NEW_TOKEN(p, x)
 [p145#371] 更多...
 
#define FAST_STORE_NEW_TOKEN(p, x)
 [p145#371] 更多...
 
#define topmarkcode   0
 [p148#382] 更多...
 
#define firstmarkcode   1
 
#define botmarkcode   2
 
#define splitfirstmarkcode   3
 
#define splitbotmarkcode   4
 
#define topmark   curmark[topmarkcode - topmarkcode]
 
#define firstmark   curmark[firstmarkcode - topmarkcode]
 
#define botmark   curmark[botmarkcode - topmarkcode]
 
#define splitfirstmark   curmark[splitfirstmarkcode - topmarkcode]
 
#define splitbotmark   curmark[splitbotmarkcode - topmarkcode]
 
#define closed   2
 
#define justopen   1
 
#define ifnodesize   2
 number of words in stack entry for conditionals. 更多...
 
#define iflinefield(x)   mem[x + 1].int_
 [p182#489] 更多...
 

枚举

enum  ConditionPrimitives {
  IF_CHAR_CODE , IF_CAT_CODE , IF_INT_CODE , IF_DIM_CODE ,
  IF_ODD_CODE , IF_VMODE_CODE , IF_HMODE_CODE , IF_MMODE_CODE ,
  IF_INNER_CODE , IF_VOID_CODE , IF_HBOX_CODE , IF_VBOX_CODE ,
  IF_X_CODE , IF_EOF_CODE , IF_TRUE_CODE , IF_FALSE_CODE ,
  IF_CASE_CODE
}
 [p181#487]: Conditional processing 更多...
 
enum  IfCode { ifcode = 1 , ficode , elsecode , orcode }
 [#489] 更多...
 

函数

HalfWord thetoks (void)
 
HalfWord scantoks (Boolean macrodef, Boolean xpand)
 
void readtoks (long n, HalfWord r)
 [#482] constructs a token list like that for any macro definition, and makes cur val point to it. 更多...
 
void expand_init ()
 [#383] 更多...
 
void build_token_init ()
 [#481] 更多...
 
void cond_process_init ()
 [#490] 更多...
 
void expand (void)
 [p143#366] 更多...
 
void get_x_token (void)
 
void xtoken (void)
 [#381] get_x_token without the initial get_next 更多...
 

变量

FILE * readfile [16]
 
char readopen [17]
 
Pointer condptr
 [#489] top of the condition stack. 更多...
 
UChar iflimit
 [#489] upper bound on fi_or_else codes 更多...
 
SmallNumber curif
 [#489] type of conditional being worked on 更多...
 
Integer ifline
 [#489] line where that conditional began 更多...
 
Integer skipline
 [#493] skipping began here 更多...
 
char longstate
 [#387] governs the acceptance of \par . 更多...
 
Pointer curmark [splitbotmarkcode - topmarkcode+1]
 

宏定义说明

◆ INC_EXPAND_H

变量说明

◆ longstate

char longstate
extern

[#387] governs the acceptance of \par .