Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
library
backrefu.h
Go to the documentation of this file.
1
/* *************************************************************************************
2
Copyright (c) 2021, Lowell D. Thomas
3
All rights reserved.
4
5
This file is part of APG Version 7.0.
6
APG Version 7.0 may be used under the terms of the BSD 2-Clause License.
7
8
Redistribution and use in source and binary forms, with or without
9
modification, are permitted provided that the following conditions are met:
10
11
1. Redistributions of source code must retain the above copyright notice, this
12
list of conditions and the following disclaimer.
13
14
2. Redistributions in binary form must reproduce the above copyright notice,
15
this list of conditions and the following disclaimer in the documentation
16
and/or other materials provided with the distribution.
17
18
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29
* *************************************************************************************/
30
#ifndef LIB_BACKREFU_H_
31
#define LIB_BACKREFU_H_
32
#ifdef APG_BKR
33
41
void
*
vpBkruCtor
(parser* spParserCtx);
42
void
vBkruRuleOpen
(
void
* vpCtx,
aint
uiIndex);
43
void
vBkruRuleClose
(
void
* vpCtx,
aint
uiIndex,
aint
uiState,
aint
uiPhraseOffset,
aint
uiPhraseLength);
44
void
vBkruUdtClose
(
void
* vpCtx,
aint
uiIndex,
aint
uiState,
aint
uiPhraseOffset,
aint
uiPhraseLength);
45
void
vBkruOpOpen
(
void
* vpCtx);
46
void
vBkruOpClose
(
void
* vpCtx,
aint
uiState);
47
bkr_phrase
sBkruFetch
(
void
* vpCtx,
aint
uiIndex);
48
49
#endif
/* APG_BKR */
50
#endif
/* LIB_BACKREFU_H_ */
sBkruFetch
bkr_phrase sBkruFetch(void *vpCtx, aint uiIndex)
Definition:
backrefu.c:358
vBkruUdtClose
void vBkruUdtClose(void *vpCtx, aint uiIndex, aint uiState, aint uiPhraseOffset, aint uiPhraseLength)
Definition:
backrefu.c:320
aint
uint_fast32_t aint
The APG parser's unsigned integer type.
Definition:
apg.h:79
vpBkruCtor
void * vpBkruCtor(parser *spParserCtx)
Definition:
backrefu.c:100
vBkruRuleClose
void vBkruRuleClose(void *vpCtx, aint uiIndex, aint uiState, aint uiPhraseOffset, aint uiPhraseLength)
Definition:
backrefu.c:295
vBkruOpOpen
void vBkruOpOpen(void *vpCtx)
Definition:
backrefu.c:327
vBkruOpClose
void vBkruOpClose(void *vpCtx, aint uiState)
Definition:
backrefu.c:340
bkr_phrase
Defines one frame on the back reference stack.
Definition:
backref.h:63
vBkruRuleOpen
void vBkruRuleOpen(void *vpCtx, aint uiIndex)
Definition:
backrefu.c:282
Generated on Sun Jun 13 2021 14:32:59 for APG by
1.8.17
APG Version 7.0 is licensed under the
2-Clause BSD License
,
an Open Source Initiative Approved License.