![Logo](logo.png) |
User Guide
|
Go to the documentation of this file.
29 const std::string& separator,
32 for (
auto iter = elements.begin(); iter != elements.end(); iter++) {
38 (*iter)->accept(*
this);
42 printer->add_element(separator);
52 bool extra_newline =
false;
55 if ((*iter)->is_line_comment() && (*(iter + 1))->is_line_comment()) {
56 extra_newline =
false;
bool is_last(Iter iter, const Cont &cont)
Check if the iterator is pointing to last element in the container.
encapsulates code generation backend implementations
Utility functions for visitors implementation.
void visit_element(const std::vector< T > &elements, const std::string &separator, bool program, bool statement)
Helper function to visit vector elements.
std::unique_ptr< printer::NMODLPrinter > printer
THIS FILE IS GENERATED AT BUILD TIME AND SHALL NOT BE EDITED.