C# Class Microsoft.R.Editor.Completion.Documentation.RoxygenBlock

ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
TryInsertBlock ( ITextBuffer textBuffer, AstRoot ast, int position ) : bool

Attempts to insert Roxygen documentation block based on the user function signature.

Private Methods

Method Description
FindFirstNonEmptyLine ( ITextSnapshot snapshot, int lineNumber ) : ITextSnapshotLine
GenerateRoxygenBlock ( string functionName, IFunctionDefinition fd, string lineBreak ) : string
GetRoxygenBlockPosition ( ITextSnapshot snapshot, int definitionStart ) : Span?

Method Details

TryInsertBlock() public static method

Attempts to insert Roxygen documentation block based on the user function signature.
public static TryInsertBlock ( ITextBuffer textBuffer, AstRoot ast, int position ) : bool
textBuffer ITextBuffer
ast Microsoft.R.Core.AST.AstRoot
position int
return bool