C# Class JetBrains.ReSharper.Psi.Secret.Formatter.SecretFormatterHelper

Show file Open project: xsburg/ReSharper.NTriples Class Usage Examples

Public Methods

Method Description
CreateNewLine ( string text ) : IWhitespaceNode
CreateSpace ( string spaceText ) : IWhitespaceNode
HasLineFeedsTo ( this fromNode, ITreeNode toNode ) : bool
MakeIndent ( this indentNode, string indent ) : void
ReplaceSpaces ( ITreeNode leftNode, ITreeNode rightNode, IEnumerable wsTexts ) : void

Private Methods

Method Description
CreateWhitespaces ( [ wsTexts ) : IWhitespaceNode[]
GetLineFeedsTo ( this fromNode, ITreeNode toNode ) : IEnumerable

Method Details

CreateNewLine() public static method

public static CreateNewLine ( string text ) : IWhitespaceNode
text string
return IWhitespaceNode

CreateSpace() public static method

public static CreateSpace ( string spaceText ) : IWhitespaceNode
spaceText string
return IWhitespaceNode

HasLineFeedsTo() public static method

public static HasLineFeedsTo ( this fromNode, ITreeNode toNode ) : bool
fromNode this
toNode ITreeNode
return bool

MakeIndent() public static method

public static MakeIndent ( this indentNode, string indent ) : void
indentNode this
indent string
return void

ReplaceSpaces() public static method

public static ReplaceSpaces ( ITreeNode leftNode, ITreeNode rightNode, IEnumerable wsTexts ) : void
leftNode ITreeNode
rightNode ITreeNode
wsTexts IEnumerable
return void