EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Classes | Namespaces
EBGeometry_LanguageSyntax.hpp File Reference

The .ebg language's text: positions, diagnostics, tokens and the syntax tree a file is parsed into. More...

#include <cstdint>
#include <cstdlib>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
#include "EBGeometry_Macros.hpp"
#include "EBGeometry_LanguageSyntaxImplem.hpp"
Include dependency graph for EBGeometry_LanguageSyntax.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EBGeometry::Language::Span
 Where a piece of text is: its file, its first and one-past-last byte, and the line and column of its first byte (both from 1). What every diagnostic points at, and what a viewer edits. More...
 
struct  EBGeometry::Language::Diagnostic
 One error or warning, at a span. More...
 
class  EBGeometry::Language::Error
 What reading a model throws when it has errors: every error found (not only the first), and the warnings. More...
 

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 
namespace  EBGeometry::Language
 The .ebg language: a model (geometry, its regions and materials, and the domains a solver computes in) written in a text file and read at run time, instead of composed in compiled C++.
 
namespace  EBGeometry::Language::Syntax
 The syntax of the language: tokens, the tree a file is parsed into, and the parser. Used by the reader and the printer; a user reads models through Language::read().
 

Detailed Description

The .ebg language's text: positions, diagnostics, tokens and the syntax tree a file is parsed into.

Author
Robert Marskar