Line |
Branch |
Exec |
Source |
1 |
|
|
#include <gyoji-frontend.hpp> |
2 |
|
|
#define _GYOJI_INTERNAL |
3 |
|
|
#include <gyoji-frontend/lex-context.hpp> |
4 |
|
|
#undef _GYOJI_INTERNAL |
5 |
|
|
#include <gyoji.l.hpp> |
6 |
|
|
#include <gyoji.y.hpp> |
7 |
|
|
|
8 |
|
|
using namespace Gyoji::frontend::yacc; |
9 |
|
|
|
10 |
|
290 |
LexContext::LexContext( |
11 |
|
|
Gyoji::frontend::namespaces::NS2Context &_ns2_context, |
12 |
|
|
Gyoji::context::CompilerContext & _compiler_context, |
13 |
|
290 |
Gyoji::misc::InputSource &_input_source) |
14 |
|
290 |
: ns2_context(_ns2_context) |
15 |
|
290 |
, input_source(_input_source) |
16 |
|
290 |
, compiler_context(_compiler_context) |
17 |
|
290 |
, line(1) |
18 |
|
290 |
, column(0) |
19 |
|
290 |
{} |
20 |
|
|
|
21 |
|
290 |
LexContext::~LexContext() |
22 |
|
290 |
{} |
23 |
|
|
|