/usr/include/styx/styx_int.h is in styx-dev 2.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | /* ------------------------------------------------------------------------ */
/* */
/* [styx_int.h] Language Interface */
/* */
/* ------------------------------------------------------------------------ */
/* File generated by 'ctoh'. Don't change manually. */
#ifndef styx_int_INCL
#define styx_int_INCL
#include "ptm.h"
#include "gls.h"
#ifdef __cplusplus
extern "C" {
#endif
/* --------------------- symbol objects - init & quit --------------------- */
void styx_initSymbols(); /* */
void styx_quitSymbols(); /* */
/* -------------------------- Types & Constants --------------------------- */
AbstractType( styx );
AbstractType( styxSource );
AbstractType( styxOptCfg );
AbstractType( styxQlxDfn );
AbstractType( styxQlxCat );
AbstractType( styxQlxGrp );
AbstractType( styxQlxOpt );
AbstractType( styxExp );
AbstractType( styxOptNat );
AbstractType( styxLimit );
AbstractType( styxDfn );
AbstractType( styxCat );
AbstractType( styxDfnOpt );
AbstractType( styxLay );
AbstractType( styxPrd );
AbstractType( styxMbr );
AbstractType( styxConflict );
AbstractType( styxState );
AbstractType( styxToken );
AbstractType( styxRule );
/* --------------------------- Access to Tokens --------------------------- */
c_bool Tstyx_Ide(GLS_Tok x); /* */
c_bool Tstyx_Nat(GLS_Tok x); /* */
c_bool Tstyx_Set(GLS_Tok x); /* */
c_bool Tstyx_Seq(GLS_Tok x); /* */
/* --------------------------- Access to Terms ---------------------------- */
c_bool styx_styx(PT_Term x, styx* x1); /* */
c_bool styx_Source(PT_Term x, styxSource* x1); /* */
c_bool styx_OptCfg(PT_Term x, styxOptCfg* x1); /* */
c_bool styx_QlxDfn(PT_Term x, styxQlxDfn* x1); /* */
c_bool styx_QlxCat(PT_Term x, styxQlxCat* x1); /* */
c_bool styx_QlxGrp(PT_Term x, styxQlxGrp* x1); /* */
c_bool styx_QlxOpt(PT_Term x, styxQlxOpt* x1); /* */
c_bool styx_Exp(PT_Term x, styxExp* x1); /* */
c_bool styx_OptNat(PT_Term x, styxOptNat* x1); /* */
c_bool styx_Limit(PT_Term x, styxLimit* x1); /* */
c_bool styx_Dfn(PT_Term x, styxDfn* x1); /* */
c_bool styx_Cat(PT_Term x, styxCat* x1); /* */
c_bool styx_DfnOpt(PT_Term x, styxDfnOpt* x1); /* */
c_bool styx_Lay(PT_Term x, styxLay* x1); /* */
c_bool styx_Prd(PT_Term x, styxPrd* x1); /* */
c_bool styx_Mbr(PT_Term x, styxMbr* x1); /* */
c_bool styx_Conflict(PT_Term x, styxConflict* x1); /* */
c_bool styx_State(PT_Term x, styxState* x1); /* */
c_bool styx_Token(PT_Term x, styxToken* x1); /* */
c_bool styx_Rule(PT_Term x, styxRule* x1); /* */
/* --------------------------------- styx --------------------------------- */
c_bool styx_Start_Source(styx x, styxSource* x1)
#define styx_Start_0 styx_Start_Source
;
/* -------------------------------- Source -------------------------------- */
c_bool styxSource_root(styxSource x, styxOptNat* x1, GLS_Tok* x2,
GLS_Lst(styxQlxDfn)* x3, styxOptCfg* x4)
;
/* -------------------------------- OptCfg -------------------------------- */
c_bool styxOptCfg_non(styxOptCfg x); /* */
c_bool styxOptCfg_cfg(styxOptCfg x, GLS_Lst(styxDfn)* x1, GLS_Lst(styxConflict)* x2); /* */
/* -------------------------------- QlxDfn -------------------------------- */
c_bool styxQlxDfn_defd(styxQlxDfn x, GLS_Tok* x1); /* */
c_bool styxQlxDfn_defn(styxQlxDfn x, styxQlxCat* x1, styxQlxOpt* x2,
styxQlxGrp* x3, GLS_Tok* x4,
styxQlxGrp* x5, styxExp* x6)
;
c_bool styxQlxDfn_igrp(styxQlxDfn x, GLS_Tok* x1); /* */
c_bool styxQlxDfn_tgrp(styxQlxDfn x, GLS_Tok* x1); /* */
c_bool styxQlxDfn_mgrp(styxQlxDfn x, GLS_Tok* x1, GLS_Lst(GLS_Tok)* x2);/* */
c_bool styxQlxDfn_xgrp(styxQlxDfn x, GLS_Tok* x1); /* */
/* -------------------------------- QlxCat -------------------------------- */
c_bool styxQlxCat_comC(styxQlxCat x); /* */
c_bool styxQlxCat_indC(styxQlxCat x); /* */
c_bool styxQlxCat_letC(styxQlxCat x); /* */
c_bool styxQlxCat_tokC(styxQlxCat x); /* */
c_bool styxQlxCat_lanC(styxQlxCat x); /* */
c_bool styxQlxCat_ignC(styxQlxCat x); /* */
/* -------------------------------- QlxGrp -------------------------------- */
c_bool styxQlxGrp_non(styxQlxGrp x); /* */
c_bool styxQlxGrp_pigrp(styxQlxGrp x); /* */
c_bool styxQlxGrp_pop(styxQlxGrp x); /* */
c_bool styxQlxGrp_igrp(styxQlxGrp x); /* */
c_bool styxQlxGrp_pgrp(styxQlxGrp x, GLS_Tok* x1); /* */
c_bool styxQlxGrp_grp(styxQlxGrp x, GLS_Tok* x1); /* */
/* -------------------------------- QlxOpt -------------------------------- */
c_bool styxQlxOpt_ignca(styxQlxOpt x); /* */
c_bool styxQlxOpt_non(styxQlxOpt x); /* */
/* --------------------------------- Exp ---------------------------------- */
c_bool styxExp_conc(styxExp x, styxExp* x1, styxExp* x2); /* */
c_bool styxExp_diff(styxExp x, styxExp* x1, styxExp* x2); /* */
c_bool styxExp_sequ(styxExp x, GLS_Tok* x1); /* */
c_bool styxExp_plusn(styxExp x, styxExp* x1, styxLimit* x2); /* */
c_bool styxExp_plus0(styxExp x, styxExp* x1); /* */
c_bool styxExp_dyck(styxExp x, styxExp* x1, styxExp* x2,
styxExp* x3)
;
c_bool styxExp_non(styxExp x); /* */
c_bool styxExp_opt(styxExp x, styxExp* x1); /* */
c_bool styxExp_range(styxExp x, styxExp* x1, styxExp* x2); /* */
c_bool styxExp_plus(styxExp x, styxExp* x1); /* */
c_bool styxExp_epat(styxExp x, styxExp* x1, GLS_Tok* x2,
styxExp* x3)
;
c_bool styxExp_set(styxExp x, GLS_Tok* x1); /* */
c_bool styxExp_union(styxExp x, styxExp* x1, styxExp* x2); /* */
c_bool styxExp_quot(styxExp x, styxExp* x1, styxExp* x2); /* */
c_bool styxExp_ident(styxExp x, GLS_Tok* x1); /* */
c_bool styxExp_star(styxExp x, styxExp* x1); /* */
c_bool styxExp_spat(styxExp x, styxExp* x1, GLS_Tok* x2,
styxExp* x3)
;
/* -------------------------------- OptNat -------------------------------- */
c_bool styxOptNat_non(styxOptNat x); /* */
c_bool styxOptNat_nat(styxOptNat x, GLS_Tok* x1); /* */
/* -------------------------------- Limit --------------------------------- */
c_bool styxLimit_range(styxLimit x, GLS_Tok* x1, styxOptNat* x2); /* */
c_bool styxLimit_ntime(styxLimit x, GLS_Tok* x1); /* */
/* --------------------------------- Dfn ---------------------------------- */
c_bool styxDfn_defn(styxDfn x, styxCat* x1, styxDfnOpt* x2,
GLS_Tok* x3, GLS_Lst(styxPrd)* x4)
;
/* --------------------------------- Cat ---------------------------------- */
c_bool styxCat_letC(styxCat x); /* */
c_bool styxCat_bgnC(styxCat x); /* */
/* -------------------------------- DfnOpt -------------------------------- */
c_bool styxDfnOpt_non(styxDfnOpt x); /* */
c_bool styxDfnOpt_errnt(styxDfnOpt x); /* */
/* --------------------------------- Lay ---------------------------------- */
c_bool styxLay_grp(styxLay x); /* */
c_bool styxLay_rec(styxLay x); /* */
c_bool styxLay_dft(styxLay x); /* */
/* --------------------------------- Prd ---------------------------------- */
c_bool styxPrd_prod(styxPrd x, styxLay* x1, GLS_Tok* x2,
GLS_Lst(styxMbr)* x3)
;
/* --------------------------------- Mbr ---------------------------------- */
c_bool styxMbr_opt(styxMbr x, GLS_Lst(GLS_Tok)* x1, styxMbr* x2,
GLS_Lst(GLS_Tok)* x3)
;
c_bool styxMbr_dtok(styxMbr x, GLS_Tok* x1, GLS_Tok* x2); /* */
c_bool styxMbr_klst1(styxMbr x, GLS_Lst(GLS_Tok)* x1, styxMbr* x2,
GLS_Lst(GLS_Tok)* x3, GLS_Lst(GLS_Tok)* x4)
;
c_bool styxMbr_tkm(styxMbr x, GLS_Tok* x1); /* */
c_bool styxMbr_ntm(styxMbr x, GLS_Tok* x1); /* */
c_bool styxMbr_klst0(styxMbr x, GLS_Lst(GLS_Tok)* x1, styxMbr* x2,
GLS_Lst(GLS_Tok)* x3, GLS_Lst(GLS_Tok)* x4)
;
c_bool styxMbr_else(styxMbr x); /* */
/* ------------------------------- Conflict ------------------------------- */
c_bool styxConflict_defn(styxConflict x, styxState* x1, styxToken* x2,
GLS_Lst(styxRule)* x3)
;
/* -------------------------------- State --------------------------------- */
c_bool styxState_nat(styxState x, GLS_Tok* x1); /* */
c_bool styxState_ide(styxState x, GLS_Tok* x1); /* */
c_bool styxState_seq(styxState x, GLS_Tok* x1); /* */
/* -------------------------------- Token --------------------------------- */
c_bool styxToken_seq(styxToken x, GLS_Tok* x1); /* */
c_bool styxToken_ide(styxToken x, GLS_Tok* x1); /* */
/* --------------------------------- Rule --------------------------------- */
c_bool styxRule_red(styxRule x, GLS_Tok* x1, GLS_Tok* x2); /* */
#ifdef __cplusplus
}
#endif
#endif
|