* Compiles a snippet of text. * * @param path A name identifying the text. * @param text The text. * @returns Configuration items. */
| 284 | * @returns Configuration items. |
| 285 | */ |
| 286 | std::unique_ptr<Expression> ConfigCompiler::CompileText(const String& path, const String& text, |
| 287 | const String& zone, const String& package) |
| 288 | { |
| 289 | std::stringstream stream(text); |
| 290 | return CompileStream(path, &stream, zone, package); |
| 291 | } |
| 292 | |
| 293 | /** |
| 294 | * Adds a directory to the list of include search dirs. |
nothing calls this directly
no outgoing calls
no test coverage detected