Archeus
0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
helpers.h
Go to the documentation of this file.
1
#ifndef ARC_STD_PARSER_HELPERS_H_
2
#define ARC_STD_PARSER_HELPERS_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include "
arc/std/parser.h
"
9
#include <stddef.h>
10
11
/**
12
* @brief recurses through a tag token adding token strings to a main string
13
*
14
* @note the string needs to be created otherwise this will break
15
* @note this will only add tokens that have data
16
*
17
* @param[in/out] data
18
* @param[in] tagToken the tag token to recurse through
19
*/
20
void
ARC_ParserData_HelperRecurseStringAdd
(
ARC_String
**data,
ARC_ParserTagToken
*tagToken);
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif
//ARC_STD_PARSER_HELPERS_H_
ARC_ParserData_HelperRecurseStringAdd
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
parser.h
ARC_ParserTagToken
a parser type used inside of the parser data create function
Definition
parser.h:35
ARC_String
substring position within a string
Definition
string.h:14
include
arc
std
parser
helpers.h