|
Leonardus
|
The class SO - semantic object. More...
#include <string>#include <string_view>#include "dbc.h"#include "helper.h"#include "counter.h"#include "error.h"
Include dependency graph for so.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | SO |
| Semantic Object. More... | |
| class | SOshptr |
| Semantic Object with shared pointer to data. More... | |
| class | SOcomposite |
| Composite Semantic Object. More... | |
Typedefs | |
| using | SOp = SO * |
| SOp is defined for readability only. | |
Enumerations | |
| enum class | OTCode : char { N = 0 , Nx = 1 , B , I , L , M , O , o , Q , R , F , S , A , Ax , D , K , X } |
| OTCode - the Object Type Code. More... | |
The class SO - semantic object.
Leonardus, a minimalist stack-based programming system. Copyright (C) 2025 Andreas Muckenschnabel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
|
strong |
OTCode - the Object Type Code.
Enumerates all possible types of semantic objects (SO) in the system.
For SON and SOA we add separate values for the executeable objects. The order of A, Ax, D and K may not be changed. The explicit values of N and Nx may not be changed.
| Enumerator | |
|---|---|
| N | SON literal. |
| Nx | SON executable. |
| B | SOB. |
| I | SOI. |
| L | SOL. |
| M | SOM. |
| O | SOO. |
| o | SOo. |
| Q | SOQ. |
| R | SOR. |
| F | SOF. |
| S | SOS. |
| A | SOA literal. |
| Ax | SOA executable. |
| D | SOD. |
| K | SOK. |
| X | any SO. Is used by checks to represent any object. |