antlr3encodings.c
来自「ANTLR(ANother Tool for Language Recognit」· C语言 代码 · 共 21 行
C
21 行
/** \File * Provides basic utility functions to convert between * the various UnNicode character conversions. There are of * course various packages that could be used instaed of these * functions, but then the Antlr 3 C runtime would be dependant * on the particular package. Using ICU for this is a good idea if * your project is already dependant on it. */#include <antlr3.h>/** \breif Convert 8 bit character to ANTLR char form. * * \param[in] inc Input chracter to transformin 8 bit ASCII form. * \return ANTLR3_UCHAR encoding of the character. */ANTLR3_API ANTLR3_UCHAR antlr3c8toAntlrc(ANTLR3_INT8 inc){ return (ANTLR3_UCHAR)(inc);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?