📄 ioutputastvisitor.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 2198 $</version>
// </file>
using System;
using ICSharpCode.NRefactory.Parser;
namespace ICSharpCode.NRefactory.PrettyPrinter
{
/// <summary>
/// Description of IOutputASTVisitor.
/// </summary>
public interface IOutputAstVisitor : IAstVisitor
{
NodeTracker NodeTracker {
get;
}
string Text {
get;
}
Errors Errors {
get;
}
AbstractPrettyPrintOptions Options {
get;
}
IOutputFormatter OutputFormatter {
get;
}
}
public interface IOutputFormatter
{
int IndentationLevel {
get;
set;
}
string Text {
get;
}
void NewLine();
void Indent();
void PrintComment(Comment comment, bool forceWriteInPreviousBlock);
void PrintPreprocessingDirective(PreprocessingDirective directive, bool forceWriteInPreviousBlock);
void PrintBlankLine(bool forceWriteInPreviousBlock);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -