nsbaci
1.0
Loading...
Searching...
No Matches
lexer.h
Go to the documentation of this file.
1
#pragma once
2
11
12
#if !defined(yyFlexLexerOnce)
13
#include <FlexLexer.h>
14
#endif
15
16
#include "parser.tab.hh"
17
22
namespace
nsbaci::compiler
{
23
28
class
Lexer :
public
yyFlexLexer {
29
public
:
30
Lexer(std::istream* in =
nullptr
) : yyFlexLexer(in) {}
31
virtual
~Lexer() =
default
;
32
33
int
yylex(Parser::semantic_type* yylval, Parser::location_type* yylloc);
34
};
35
36
}
// namespace nsbaci::compiler
nsbaci::compiler
Compiler namespace containing all compilation-related stuff.
source
services
compilerService
compiler
nsbaci
lexer.h
Generated by
1.16.1