prefix_macro.h 525 B

1234567891011121314151617
  1. /*
  2. * 文件名: prefix_macro
  3. * 目标: 前缀的宏定义
  4. */
  5. #ifndef AFUN__PREFIX_MACRO_H
  6. #define AFUN__PREFIX_MACRO_H
  7. // 作为顶层代码,以及'()运行时
  8. #define L_NOT_REPEAT (0) /* 字面量前缀: 不重复构造 */
  9. #define V_QUOTE (1) /* 变量前缀: 引用 */
  10. #define B_EXEC (2) /* 括号前缀: 顺序执行 */
  11. #define B_EXEC_FIRST (3) /* 括号前缀: 顺序执行, 返回第一个 */
  12. #define PREFIX_SIZE (4) /* 前缀总数 */
  13. #endif //AFUN__PREFIX_MACRO_H