Property | Type | Description | |
---|---|---|---|
AddChange | |||
AdjustNewLineBlock | void | ||
Align | void | ||
CorrectClosingBrace | void | ||
EnsureText | void | ||
FixClosingBrace | void | ||
FixEmbeddedStatment | void | ||
FixEmbeddedStatment | void | ||
FixIndentation | void | ||
FixIndentation | void | ||
FixIndentationForceNewLine | void | ||
FixOpenBrace | void | ||
FixStatementIndentation | void | ||
ForceSpace | void | ||
ForceSpaceBefore | void | ||
ForceSpacesAfter | void | ||
ForceSpacesBefore | int | ||
ForceSpacesBeforeRemoveNewLines | int | ||
GetIndentation | string | ||
IsLineIsEmptyUpToEol | bool | ||
IsMember | bool | ||
IsSimpleAccessor | bool | ||
IsSpacing | bool | ||
IsSpacing | bool | ||
NoWhitespacePredicate | bool | ||
PlaceOnNewLine | void | ||
SearchLastNonWsChar | int | ||
SearchWhitespaceEnd | int | ||
SearchWhitespaceLineStart | int | ||
SearchWhitespaceStart | int | ||
ShouldBreakLine | bool | ||
VisitBlockWithoutFixingBraces | void | ||
VisitChildrenToFormat | void |
Method | Description | |
---|---|---|
EnsureMinimumBlankLinesBefore ( AstNode node, int blankLines ) : void | ||
EnsureMinimumNewLinesAfter ( AstNode node, int blankLines ) : void | ||
FixSemicolon ( CSharpTokenNode semicolon ) : void | ||
FormattingVisitor ( |
||
IsLineIsEmptyUpToEol ( TextLocation startLocation ) : bool | ||
VisitBlockStatement ( BlockStatement blockStatement ) : void | ||
VisitBreakStatement ( BreakStatement breakStatement ) : void | ||
VisitCaseLabel ( CaseLabel caseLabel ) : void | ||
VisitCatchClause ( CatchClause catchClause ) : void | ||
VisitCheckedStatement ( CheckedStatement checkedStatement ) : void | ||
VisitContinueStatement ( ContinueStatement continueStatement ) : void | ||
VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void | ||
VisitEmptyStatement ( EmptyStatement emptyStatement ) : void | ||
VisitExpressionStatement ( ExpressionStatement expressionStatement ) : void | ||
VisitFixedStatement ( FixedStatement fixedStatement ) : void | ||
VisitForStatement ( ForStatement forStatement ) : void | ||
VisitForeachStatement ( ForeachStatement foreachStatement ) : void | ||
VisitGotoStatement ( GotoStatement gotoStatement ) : void | ||
VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void | ||
VisitLabelStatement ( LabelStatement labelStatement ) : void | ||
VisitLockStatement ( LockStatement lockStatement ) : void | ||
VisitReturnStatement ( ReturnStatement returnStatement ) : void | ||
VisitSwitchSection ( SwitchSection switchSection ) : void | ||
VisitSwitchStatement ( SwitchStatement switchStatement ) : void | ||
VisitThrowStatement ( ThrowStatement throwStatement ) : void | ||
VisitTryCatchStatement ( TryCatchStatement tryCatchStatement ) : void | ||
VisitUncheckedStatement ( UncheckedStatement uncheckedStatement ) : void | ||
VisitUnsafeStatement ( UnsafeStatement unsafeStatement ) : void | ||
VisitUsingStatement ( UsingStatement usingStatement ) : void | ||
VisitVariableDeclarationStatement ( VariableDeclarationStatement variableDeclarationStatement ) : void | ||
VisitVariableInitializer ( VariableInitializer variableInitializer ) : void | ||
VisitWhileStatement ( WhileStatement whileStatement ) : void | ||
VisitYieldBreakStatement ( YieldBreakStatement yieldBreakStatement ) : void | ||
VisitYieldReturnStatement ( YieldReturnStatement yieldStatement ) : void |
Method | Description | |
---|---|---|
VisitChildren ( AstNode node ) : void |
Method | Description | |
---|---|---|
AddChange ( int offset, int removedChars, string insertedText ) : |
||
AdjustNewLineBlock ( AstNode startNode, int targetMinimumNewLineCount ) : void | ||
Align ( AstNode lPar, AstNode alignNode, bool space ) : void | ||
CorrectClosingBrace ( AstNode rbrace ) : void | ||
EnsureText ( int start, int end, string replacementText ) : void | ||
FixClosingBrace ( BraceStyle braceStyle, AstNode rbrace ) : void | ||
FixEmbeddedStatment ( BraceStyle braceStyle, AstNode node ) : void | ||
FixEmbeddedStatment ( BraceStyle braceStyle, CSharpTokenNode token, bool allowInLine, AstNode node, bool statementAlreadyIndented = false ) : void | ||
FixIndentation ( AstNode node ) : void | ||
FixIndentation ( TextLocation location, int relOffset ) : void | ||
FixIndentationForceNewLine ( AstNode node ) : void | ||
FixOpenBrace ( BraceStyle braceStyle, AstNode lbrace ) : void | ||
FixStatementIndentation ( TextLocation location ) : void | ||
ForceSpace ( int startOffset, int endOffset, bool forceSpace ) : void | ||
ForceSpaceBefore ( AstNode node, bool forceSpace ) : void | ||
ForceSpacesAfter ( AstNode n, bool forceSpaces ) : void | ||
ForceSpacesBefore ( AstNode n, bool forceSpaces ) : int | ||
ForceSpacesBeforeRemoveNewLines ( AstNode n, bool forceSpace = true ) : int | ||
GetIndentation ( int lineNumber ) : string | ||
IsLineIsEmptyUpToEol ( int startOffset ) : bool | ||
IsMember ( AstNode nextSibling ) : bool | ||
IsSimpleAccessor ( Accessor accessor ) : bool | ||
IsSpacing ( ISegment segment ) : bool | ||
IsSpacing ( char ch ) : bool | ||
NoWhitespacePredicate ( AstNode arg ) : bool | ||
PlaceOnNewLine ( NewLinePlacement newLine, AstNode keywordNode ) : void | ||
SearchLastNonWsChar ( int startOffset, int endOffset ) : int | ||
SearchWhitespaceEnd ( int startOffset ) : int | ||
SearchWhitespaceLineStart ( int startOffset ) : int | ||
SearchWhitespaceStart ( int startOffset ) : int | ||
ShouldBreakLine ( NewLinePlacement placement, CSharpTokenNode token ) : bool | ||
VisitBlockWithoutFixingBraces ( BlockStatement blockStatement, bool indent ) : void | ||
VisitChildrenToFormat ( AstNode parent, Action |
public EnsureMinimumBlankLinesBefore ( AstNode node, int blankLines ) : void | ||
node | AstNode | |
blankLines | int | |
return | void |
public EnsureMinimumNewLinesAfter ( AstNode node, int blankLines ) : void | ||
node | AstNode | |
blankLines | int | |
return | void |
public FixSemicolon ( CSharpTokenNode semicolon ) : void | ||
semicolon | CSharpTokenNode | |
return | void |
public FormattingVisitor ( |
||
formatter | ||
document | IDocument | |
changes | ||
token | CancellationToken | |
return | System |
public IsLineIsEmptyUpToEol ( TextLocation startLocation ) : bool | ||
startLocation | TextLocation | |
return | bool |
public VisitBlockStatement ( BlockStatement blockStatement ) : void | ||
blockStatement | BlockStatement | |
return | void |
public VisitBreakStatement ( BreakStatement breakStatement ) : void | ||
breakStatement | BreakStatement | |
return | void |
public VisitCaseLabel ( CaseLabel caseLabel ) : void | ||
caseLabel | CaseLabel | |
return | void |
public VisitCatchClause ( CatchClause catchClause ) : void | ||
catchClause | CatchClause | |
return | void |
public VisitCheckedStatement ( CheckedStatement checkedStatement ) : void | ||
checkedStatement | CheckedStatement | |
return | void |
protected VisitChildren ( AstNode node ) : void | ||
node | AstNode | |
return | void |
public VisitContinueStatement ( ContinueStatement continueStatement ) : void | ||
continueStatement | ContinueStatement | |
return | void |
public VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void | ||
doWhileStatement | DoWhileStatement | |
return | void |
public VisitEmptyStatement ( EmptyStatement emptyStatement ) : void | ||
emptyStatement | EmptyStatement | |
return | void |
public VisitExpressionStatement ( ExpressionStatement expressionStatement ) : void | ||
expressionStatement | ExpressionStatement | |
return | void |
public VisitFixedStatement ( FixedStatement fixedStatement ) : void | ||
fixedStatement | FixedStatement | |
return | void |
public VisitForStatement ( ForStatement forStatement ) : void | ||
forStatement | ForStatement | |
return | void |
public VisitForeachStatement ( ForeachStatement foreachStatement ) : void | ||
foreachStatement | ForeachStatement | |
return | void |
public VisitGotoStatement ( GotoStatement gotoStatement ) : void | ||
gotoStatement | GotoStatement | |
return | void |
public VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void | ||
ifElseStatement | IfElseStatement | |
return | void |
public VisitLabelStatement ( LabelStatement labelStatement ) : void | ||
labelStatement | LabelStatement | |
return | void |
public VisitLockStatement ( LockStatement lockStatement ) : void | ||
lockStatement | LockStatement | |
return | void |
public VisitReturnStatement ( ReturnStatement returnStatement ) : void | ||
returnStatement | ReturnStatement | |
return | void |
public VisitSwitchSection ( SwitchSection switchSection ) : void | ||
switchSection | SwitchSection | |
return | void |
public VisitSwitchStatement ( SwitchStatement switchStatement ) : void | ||
switchStatement | SwitchStatement | |
return | void |
public VisitThrowStatement ( ThrowStatement throwStatement ) : void | ||
throwStatement | ThrowStatement | |
return | void |
public VisitTryCatchStatement ( TryCatchStatement tryCatchStatement ) : void | ||
tryCatchStatement | TryCatchStatement | |
return | void |
public VisitUncheckedStatement ( UncheckedStatement uncheckedStatement ) : void | ||
uncheckedStatement | UncheckedStatement | |
return | void |
public VisitUnsafeStatement ( UnsafeStatement unsafeStatement ) : void | ||
unsafeStatement | UnsafeStatement | |
return | void |
public VisitUsingStatement ( UsingStatement usingStatement ) : void | ||
usingStatement | UsingStatement | |
return | void |
public VisitVariableDeclarationStatement ( VariableDeclarationStatement variableDeclarationStatement ) : void | ||
variableDeclarationStatement | VariableDeclarationStatement | |
return | void |
public VisitVariableInitializer ( VariableInitializer variableInitializer ) : void | ||
variableInitializer | VariableInitializer | |
return | void |
public VisitWhileStatement ( WhileStatement whileStatement ) : void | ||
whileStatement | WhileStatement | |
return | void |
public VisitYieldBreakStatement ( YieldBreakStatement yieldBreakStatement ) : void | ||
yieldBreakStatement | YieldBreakStatement | |
return | void |
public VisitYieldReturnStatement ( YieldReturnStatement yieldStatement ) : void | ||
yieldStatement | YieldReturnStatement | |
return | void |