|
nginxconfig
C++libraryforparsingandprintingnginx.conf
|
#include <nginxconfig/config.hpp>#include <nginxconfig/ast.hpp>#include <nginxconfig/parse.hpp>#include <nginxconfig/parse_types.hpp>#include <algorithm>#include <cassert>#include <fstream>#include <sstream>#include <regex>Go to the source code of this file.
Defines | |
| #define | NGINXCONFIG_DEBUG 0 |
| #define | NGINXCONFIG_USE_BOOST_REGEX 0 |
| #define | NGINXCONFIG_CHECK_REGEX_IMPLEMENTATION 1 |
| #define | NGINXCONFIG_DEBUG_PRINT(x) |
Functions | |
| ast_entry::attribute_list | nginxconfig::parser::split_attributes (const std::string &attrs) |
| bool | nginxconfig::parser::parse_generic (context &cxt, ast_entry &owner) |
| ast_entry | nginxconfig::parse (std::istream &input) |
| ast_entry | nginxconfig::parse_file (const std::string &filename) |
Copyright (c) 2014 by Travis Gockel. All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.
Definition in file parse.cpp.
| #define NGINXCONFIG_CHECK_REGEX_IMPLEMENTATION 1 |
Should we check the regex implementation? If set to 1 (default), this file will fail to compile if it does not believe your standard library implementation has a working regular expression engine. Set this value to 0 to disable this check if you know your standard library implementation works fine.
| #define NGINXCONFIG_USE_BOOST_REGEX 0 |