Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2data
src
automaton
common
Shift.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <alib/string>
9
10
namespace
automaton
{
11
15
enum class
Shift
{
16
LEFT
,
RIGHT
,
NONE
17
};
18
19
std::string
shiftToString
(
automaton::Shift
shift );
20
automaton::Shift
shiftFromString
(
const
std::string & shift );
21
22
ext::ostream
&
operator<<
(
ext::ostream
& out,
const
automaton::Shift
&);
23
24
}
/* namespace automaton */
25
ext::ostream
Definition:
ostream.h:14
automaton
Definition:
ToGrammar.h:31
automaton::operator<<
ext::ostream & operator<<(ext::ostream &out, const automaton::Shift &)
Definition:
Shift.cpp:34
automaton::shiftToString
std::string shiftToString(automaton::Shift shift)
Definition:
Shift.cpp:22
automaton::Shift
Shift
Definition:
Shift.h:15
automaton::Shift::RIGHT
@ RIGHT
automaton::Shift::LEFT
@ LEFT
automaton::Shift::NONE
@ NONE
automaton::shiftFromString
automaton::Shift shiftFromString(const std::string &shift)
Definition:
Shift.cpp:11
Generated on Mon Dec 27 2021 10:21:53 for Algorithms Library Toolkit by
1.9.2