Table of Contents

Class VbRepository

Namespace
Alternet.Syntax.Parsers.Roslyn.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

Represents properties and methods to perform code completion functionality for the Visual Basic language.

public class VbRepository : RoslynRepository, IRoslynRepository, ICodeCompletionRepository, IDisposable, IUpdate
Inheritance
VbRepository
Implements

Constructors

VbRepository(ISyntaxParser, IRoslynSolution, bool)

Initializes a new instance of the VbRepository class with specified settings.

Methods

AddRange(SourceText, TextSpan, IList<IRange>)
CanProvideCodeCompletion(SyntaxNode, int)
CodeCompletionAsync(Point, CodeCompletionArgs, CancellationToken)

Performs code completion for the specified text representing language element.

CodeCompletionFocusMode(CompletionList, int)
CompleteBrace(Point, CodeCompletionArgs)
CompleteComment(Point, CodeCompletionArgs)
ConcatSpans(TextSpan[])
CreateFormattedDocument(Document, SyntaxNode, TextSpan, bool, int)
GetCommentTemplateForNode(VisualBasicSyntaxNode, string)
GetMatchingBlocksAt(SourceText, SyntaxNode, int, IList<IRange>)
GetNodeName(SyntaxNode)
GetQuickInfoName(SyntaxNode)
GetXmlComment()

Represents beginning of XML comment.

HasSnippetMembers(string)
IsBlockNode(SyntaxNode, int)
IsBlockSyntax(SyntaxNode)
IsCollapsible(SyntaxNode, out string, out TextSpan, bool)

Indicates whether specified Microsoft.CodeAnalysis.SyntaxNode can be outlined.

IsCollapsible(IEnumerable<SyntaxTrivia>, out string, out TextSpan)

Indicates whether specified Microsoft.CodeAnalysis.SyntaxTrivia list can be outlined.

IsContentDivider(SyntaxNode, out TextSpan)

Gets boolean value indicating whether text content is divided at given line.

IsDeclarationNode(ref SyntaxNode)
IsIndentNode(SyntaxNode, int)
IsLastContentNode(SyntaxNode)
IsStructureGuideNode(SyntaxNode, out TextSpan)

Indicates whether specified Microsoft.CodeAnalysis.SyntaxNode is guide node.

IsSyntaxBlockNode(SyntaxNode)
IsValidReferenceToken(SyntaxToken)
PreProcessFormatChanges(Document, SyntaxTree, SourceText, TextSpan)
ProcessAutoComplete(string, Point, out string)

Checks whether end-of-block code needs inserting.

ProcessStatementRange(SourceText, SyntaxNodeOrToken, IList<IRange>, SyntaxKind[])
RegisterDefaultNamespaces(TechnologyEnvironment)

Registers default namespaces in the project.

SmartFormat(ref Point, ref Point, bool, int, bool, ITextUndoList)

Formats block of text according to the parser rules.

TryGetBreakpointSpan(SyntaxTree, int, CancellationToken, out TextSpan)