coan  6.0.1
A C/C++ Configuration Analyzer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
expansion_base.cpp File Reference
#include "expansion_base.h"
#include "unexplained_expansion.h"
#include "explained_expansion.h"
#include "diagnostic.h"
#include "reference.h"
#include "citable.h"
#include <string>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <cassert>

Go to the source code of this file.

Functions

static string quote (string const &str)
 Return the quotation of a string. More...
 

Detailed Description

This file implements struct expansion_base.

Definition in file expansion_base.cpp.

Function Documentation

static string quote ( string const &  str)
static

Return the quotation of a string.

Parameters
strThe string to be quoted.
Returns
str surrounded in quotes and with each embedded \ or " preceded by a \

Definition at line 62 of file expansion_base.cpp.