nginxconfig
C++libraryforparsingandprintingnginx.conf
nginxconfig/ast.cpp File Reference
#include <nginxconfig/ast.hpp>
#include <nginxconfig/encode.hpp>
#include <algorithm>
#include <sstream>
#include <tuple>

Go to the source code of this file.

Defines

#define NGINXCONFIG_AST_ENTRY_TIE_TUPLE(x)   std::tie((x)._kind, (x)._name, (x)._attributes, (x)._children, (x)._comment)

Functions

void nginxconfig::check_kind (std::initializer_list< ast_entry_kind > expected, ast_entry_kind actual)
std::ostream & nginxconfig::operator<< (std::ostream &os, const ast_entry_kind &kind)
void nginxconfig::swap (ast_entry &a, ast_entry &b) noexcept
std::ostream & nginxconfig::operator<< (std::ostream &os, const ast_entry &ast)

Detailed Description

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.

Author:
Travis Gockel (travis@gockelhut.com)

Definition in file ast.cpp.

 All Classes Files Functions Variables Friends Defines