Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_ReaderTables.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef TEUCHOS_READER_TABLES_HPP
11#define TEUCHOS_READER_TABLES_HPP
12
17#include <Teuchos_FiniteAutomaton.hpp>
18#include <Teuchos_Parser.hpp>
19#include <Teuchos_RCP.hpp>
20
21namespace Teuchos {
22
23struct IndentInfo {
24 bool is_sensitive;
25 int indent_token;
26 int dedent_token;
27 int newline_token;
28};
29
33 Parser parser;
35 FiniteAutomaton lexer;
36 IndentInfo indent_info;
37};
38
41
42}
43
44#endif
Declares Teuchos::Parser, ParserFail and make_lalr1_parser.
Reference-counted pointer class and non-member templated function implementations.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
RCP< const ReaderTables > ReaderTablesPtr
an RCP to a const ReaderTables
Parser and lexer tables specifying how to read a Language.
FiniteAutomaton lexer
lexer.