Teuchos - Trilinos Tools Package
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
parser
src
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
16
17
#include <Teuchos_FiniteAutomaton.hpp>
18
#include <
Teuchos_Parser.hpp
>
19
#include <
Teuchos_RCP.hpp
>
20
21
namespace
Teuchos
{
22
23
struct
IndentInfo {
24
bool
is_sensitive;
25
int
indent_token;
26
int
dedent_token;
27
int
newline_token;
28
};
29
31
struct
ReaderTables
{
33
Parser
parser
;
35
FiniteAutomaton
lexer
;
36
IndentInfo indent_info;
37
};
38
40
typedef
RCP<const ReaderTables>
ReaderTablesPtr
;
41
42
}
43
44
#endif
Teuchos_Parser.hpp
Declares Teuchos::Parser, ParserFail and make_lalr1_parser.
Teuchos_RCP.hpp
Reference-counted pointer class and non-member templated function implementations.
Teuchos::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition
Teuchos_RCPDecl.hpp:397
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Teuchos::ReaderTablesPtr
RCP< const ReaderTables > ReaderTablesPtr
an RCP to a const ReaderTables
Definition
Teuchos_ReaderTables.hpp:40
Teuchos::ReaderTables
Parser and lexer tables specifying how to read a Language.
Definition
Teuchos_ReaderTables.hpp:31
Teuchos::ReaderTables::parser
Parser parser
parser.
Definition
Teuchos_ReaderTables.hpp:33
Teuchos::ReaderTables::lexer
FiniteAutomaton lexer
lexer.
Definition
Teuchos_ReaderTables.hpp:35
Generated by
1.17.0