Method | Description | |
---|---|---|
CreateSpace ( string indent, ITreeNode rightNonSpace, ITreeNode replacedSpace ) : ITreeNode[] | ||
Format ( ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator pi, IContextBoundSettingsStore overrideSettingsStore = null ) : ITreeRange | ||
FormatDeletedNodes ( ITreeNode parent, ITreeNode prevNode, ITreeNode nextNode ) : void | ||
FormatInsertedNodes ( ITreeNode nodeFirst, ITreeNode nodeLast, bool formatSurround ) : void | ||
FormatInsertedRange ( ITreeNode nodeFirst, ITreeNode nodeLast, ITreeRange origin ) : ITreeRange | ||
FormatReplacedNode ( ITreeNode oldNode, ITreeNode newNode ) : void | ||
GetMinimalSeparator ( ITokenNode leftToken, ITokenNode rightToken ) : ITokenNode | ||
IsWhitespaceToken ( ITokenNode token ) : bool | ||
N3CodeFormatter ( Lifetime lifetime, N3Language language, ISettingsStore settingsStore, ISettingsOptimization settingsOptimization ) : JetBrains.Application.Progress |
Method | Description | |
---|---|---|
IsFormatNextSpaces ( CodeFormatProfile profile ) : bool |
Method | Description | |
---|---|---|
GetFirstAndLastNode ( ITreeNode firstElement, ITreeNode lastElement, ITreeNode &firstNode, ITreeNode &lastNode ) : void | ||
GetFirstNode ( ITreeNode firstChild, ITreeNode commonParent ) : ITreeNode | ||
GetLastNode ( ITreeNode lastChild, ITreeNode commonParent ) : ITreeNode |
public CreateSpace ( string indent, ITreeNode rightNonSpace, ITreeNode replacedSpace ) : ITreeNode[] | ||
indent | string | |
rightNonSpace | ITreeNode | |
replacedSpace | ITreeNode | |
return | ITreeNode[] |
public Format ( ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator pi, IContextBoundSettingsStore overrideSettingsStore = null ) : ITreeRange | ||
firstElement | ITreeNode | |
lastElement | ITreeNode | |
profile | CodeFormatProfile | |
pi | IProgressIndicator | |
overrideSettingsStore | IContextBoundSettingsStore | |
return | ITreeRange |
public FormatDeletedNodes ( ITreeNode parent, ITreeNode prevNode, ITreeNode nextNode ) : void | ||
parent | ITreeNode | |
prevNode | ITreeNode | |
nextNode | ITreeNode | |
return | void |
public FormatInsertedNodes ( ITreeNode nodeFirst, ITreeNode nodeLast, bool formatSurround ) : void | ||
nodeFirst | ITreeNode | |
nodeLast | ITreeNode | |
formatSurround | bool | |
return | void |
public FormatInsertedRange ( ITreeNode nodeFirst, ITreeNode nodeLast, ITreeRange origin ) : ITreeRange | ||
nodeFirst | ITreeNode | |
nodeLast | ITreeNode | |
origin | ITreeRange | |
return | ITreeRange |
public FormatReplacedNode ( ITreeNode oldNode, ITreeNode newNode ) : void | ||
oldNode | ITreeNode | |
newNode | ITreeNode | |
return | void |
public GetMinimalSeparator ( ITokenNode leftToken, ITokenNode rightToken ) : ITokenNode | ||
leftToken | ITokenNode | |
rightToken | ITokenNode | |
return | ITokenNode |
protected IsFormatNextSpaces ( CodeFormatProfile profile ) : bool | ||
profile | CodeFormatProfile | |
return | bool |
public IsWhitespaceToken ( ITokenNode token ) : bool | ||
token | ITokenNode | |
return | bool |
public N3CodeFormatter ( Lifetime lifetime, N3Language language, ISettingsStore settingsStore, ISettingsOptimization settingsOptimization ) : JetBrains.Application.Progress | ||
lifetime | Lifetime | |
language | N3Language | |
settingsStore | ISettingsStore | |
settingsOptimization | ISettingsOptimization | |
return | JetBrains.Application.Progress |