Debian Codegraph @

Kernel/grammar.h

raw symbols SCIP
1 /* This file is part of the FaCT++ DL reasoner
2 Copyright (C) 2003-2015 Dmitry Tsarkov and The University of Manchester
3 Copyright (C) 2015-2017 Dmitry Tsarkov
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 //-------------------------------------------------------------------------
21 //
22 // Grammar for FaCT++
23 //
24 //-------------------------------------------------------------------------
25 #ifndef GRAMMAR_H
26 #define GRAMMAR_Hcxx . . $ `Kernel/grammar.h:26:9`!
27
28 // constants for symbols
29 enum Tokencxx . . $ Token# {
30 ANDcxx . . $ AND.,
31 ORcxx . . $ OR.,
32 NOTcxx . . $ NOT.,
33 INVcxx . . $ INV.,
34 RCOMPOSITIONcxx . . $ RCOMPOSITION., // role composition
35 PROJINTOcxx . . $ PROJINTO., // role projection into
36 PROJFROMcxx . . $ PROJFROM., // role projection from
37 SELFcxx . . $ SELF.,
38
39 TOPcxx . . $ TOP.,
40 BOTTOMcxx . . $ BOTTOM.,
41 EXISTScxx . . $ EXISTS.,
42 FORALLcxx . . $ FORALL.,
43 GEcxx . . $ GE.,
44 // ATLEAST = GE,
45 LEcxx . . $ LE.,
46 // ATMOST = LE,
47
48 // common meta-symbols
49 DATAEXPRcxx . . $ DATAEXPR., // any data expression: data value, [constrained] datatype
50
51 // more precise ID's discretion
52 CNAMEcxx . . $ CNAME., // name of a concept
53 INAMEcxx . . $ INAME., // name of a singleton
54 RNAMEcxx . . $ RNAME., // name of a role
55 DNAMEcxx . . $ DNAME., // name of a data role
56 };
57
58 // some multi-case defines
59
60 // any name (like ID)
61 #define NAMEcxx . . $ `Kernel/grammar.h:61:9`! CNAME: case INAME: case RNAME: case DNAME
62
63 #endif