mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
20 lines
456 B
C++
20 lines
456 B
C++
/**
|
|
* Copyright 2019-present, GraphQL Foundation
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
#pragma once
|
|
|
|
/***
|
|
* This file contains definitions that need to be shared by the parser
|
|
* and the lexer.
|
|
*/
|
|
|
|
yy::GraphQLParserImpl::syntax_error make_error(const yy::location &loc, const std::string &str);
|
|
|
|
struct LexerExtra {
|
|
std::string str;
|
|
yy::location loc;
|
|
};
|