internal void GenerateBladeFileStartCode() { TextComposer.AppendLine( Templates["blade_file_start"].GenerateUsing(CurrentFrameName) ); TextComposer.IncreaseIndentation(); TextComposer.IncreaseIndentation(); }
internal void GenerateOutermorphismFileStartCode() { TextComposer.AppendLine( Templates["om_file_start"], "frame", CurrentFrameName, "grade", CurrentFrame.VSpaceDimension ); TextComposer.IncreaseIndentation(); TextComposer.IncreaseIndentation(); }
internal void GenerateDotCode(DotFixedCode fixedCode) { if (fixedCode.CodeType == DotFixedCodeType.MultiLineComment) { TextComposer.AppendAtNewLine(@"/*"); TextComposer.AppendAtNewLine(fixedCode.Code); TextComposer.AppendAtNewLine(@"*/"); return; } if (fixedCode.CodeType == DotFixedCodeType.SingleLineComment) { TextComposer.IncreaseIndentation("// "); TextComposer.AppendAtNewLine(fixedCode.Code); TextComposer.DecreaseIndentation(); return; } TextComposer.AppendAtNewLine(fixedCode.Code); }