Function report |
Source Code:lib\parser.c |
Create Date:2022-07-28 06:19:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:match_number: scan a number in the given base from a substring_t*@s: substring to be scanned*@result: resulting integer on success*@base: base to use when converting string* Description: Given a &substring_t and a base, attempts to parse the substring
Proto:static int match_number(substring_t *s, int *result, int base)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| substring_t * | s | |
| int * | result | |
| int | base |
| 133 | buf = match_strdup(s) |
| 137 | ret = 0 |
| 146 | Return ret |
| Name | Describe |
|---|---|
| match_int | match_int: - scan a decimal representation of an integer from a substring_t*@s: substring_t to be scanned*@result: resulting integer on success* Description: Attempts to parse the &substring_t @s as a decimal integer. On |
| match_octal | match_octal: - scan an octal representation of an integer from a substring_t*@s: substring_t to be scanned*@result: resulting integer on success* Description: Attempts to parse the &substring_t @s as an octal integer |
| match_hex | match_hex: - scan a hex representation of an integer from a substring_t*@s: substring_t to be scanned*@result: resulting integer on success* Description: Attempts to parse the &substring_t @s as a hexadecimal integer |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |