Example #1
0
        public override void VisitIncludeCPPModel(IncludeCPPModel model)
        {
            switch (model.Type)
            {
            case IncludeTypeCPPModel.System:
                AppendLine($"#include <{model.Name}.h>");
                break;

            case IncludeTypeCPPModel.User:
                AppendLine($"#include \"{model.Name}.h\"");
                break;
            }
        }
 public override void VisitIncludeCPPModel(IncludeCPPModel model)
 => Invoke <IncludeCPPModelVisitor>(model);