Table of Contents

Class VbParser

Namespace
Alternet.Syntax.Parsers.Advanced
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

Represents a class that performs syntax and lexical analysis of specified Visual Basic.NET code text.

public class VbParser : NetSyntaxParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
Inheritance
VbParser
Implements
Derived

Constructors

VbParser()

Initializes a new instance of the VbParser class with default settings.

Fields

lexCommentProc
lexDefineProc
lexIdentifierProc
lexNumberProc
lexStringEndProc
lexStringProc
lexSymbolProc
lexWhitespaceProc
lexXmlCommentProc
lexXmlCommentTagProc
reswords
xmlLiteralParser

Properties

CaseSensitive

Gets or sets a boolean value that indicates whether VbParser should perform case-sensitive analysis of its content.

XmlLiteralParser

Methods

CreateListMembers()
CreateParameterInfo()
CreateRepository()

Creates ICodeCompletionRepository to perform code completion functionality for this parser.

EndExpression()
Expected(VbLexerToken)
Expected(VbLexerToken, VbLexerToken)
Expected(VbLexerToken[])
Expected(int)
FindWithStatement(ISyntaxNode)
FormatComment(string)
GenerateAnonymousTupleName()
GetBlockToken(int)
GetCompletionType(char)

Obtains type of code completion window from specifies char parameter.

GetIncompleteNode(ISyntaxNode, ref Point)
GetIncompleteNode(ISyntaxNode, int)
GetLexerStyle(int)
GetSingleLineComment()

Gets the string that represents start symbol of single line comment.

GetXmlComment()

Gets the string that represents start symbols of xml comment.

HasAccessors()
HasEventAccessors()
HasModifier(ISyntaxAttributes, string)
IdentifierExpected()
InitGlobalModules(IReflectionRepository)
InitLanguage()
InitLexer()
InitReswords()
IsAccessor()
IsBaseList(int)
IsBlockEnd()
IsBuiltInType(int)
IsCodeCompletionChar(char, byte, ref int)

Returns boolean value indicating that given character initializes a code completion procedure when typing.

IsComment(int)
IsComparisionOperator(int)
IsDeclarationToken(int)
IsEventAccessor()
IsFunctionToken(int)
IsIdentifierToken(int)
IsImplicitLineContinuationPrevToken(int)
IsImplicitLineContinuationToken(int)
IsInvalidBlockToken(int)
IsInvalidBlockToken(int, int[])
IsInvalidExpressionToken(int)
IsKeywordToken(int)
IsKnownMemberDeclaration(int)
IsModifier(int)
IsParameterModifier(int)
IsType(int)
IsValidToken(int)
IsXmlComment(int)
LexBinNumber()
LexComment()
LexDefine()
LexHexNumber()
LexIdentifier()
LexNumber()
LexOctNumber()
LexString()
LexStringEnd()
LexSymbol()
LexWhitespace()
LexXmlComment()
LexXmlCommentTag()
MoveNext()
NextToken()

Parses text from current position to the next token and updates TokenPos, CurrentPos and TokenString properties.

ParseAccessor(NetNodeType)
ParseAccessorBody(ISyntaxNode, int)
ParseAddHandlerStatement()
ParseAdditiveExpression(ref ISyntaxNode)
ParseAddressofExpression(ref ISyntaxNode)
ParseAggregateQueryOperator()
ParseAndExpression(ref ISyntaxNode)
ParseAnonymousObjectCreationExpression(ref ISyntaxNode)
ParseArgument(ref ISyntaxNode)
ParseArgumentList(ref ISyntaxNode, bool)
ParseArrayInitializerExpression(ref ISyntaxNode)
ParseArraySizeInitializationModifier(out string)
ParseAssignmentExpression(ref ISyntaxNode)
ParseAttributeDeclaration()
ParseAttributeListDeclaration()
ParseAwaitStatement()
ParseBaseAccess(ref ISyntaxNode)
ParseBlock()
ParseBlock(int)
ParseBlock(int[])
ParseBlock(int[], bool, out bool)
ParseBlock(int[], bool, out bool, int[])
ParseBlock(int[], int[])
ParseBlockStatement(int, int, int[])
ParseBlockStatement(int[], int, int[])
ParseBlockStatementEnd(int)
ParseCallStatement()
ParseCaseClause()
ParseCaseClauses()
ParseCaseStatement()
ParseCastExpression(ref ISyntaxNode)
ParseCastTargetExpression(ref ISyntaxNode, VbLexerToken)
ParseCatchStatement()
ParseClassBody()
ParseCollectionInitializerExpression(ref ISyntaxNode)
ParseCollectionRangeVariableDeclaration(ref ISyntaxNode)
ParseCollectionRangeVariableDeclarationList(ref ISyntaxNode)
ParseComment()
ParseComparisionExpression(ref ISyntaxNode)
ParseConditionalExpression(ref ISyntaxNode)
ParseConstantExpression(ref ISyntaxNode)
ParseConstructorDeclaration(ISyntaxAttributes)
ParseConstructorDeclaration(ISyntaxAttributes, Point)
ParseContinueStatement()
ParseDeclaration(ISyntaxAttributes, ISyntaxNode, int)
ParseDeclaration(ISyntaxAttributes, int)
ParseDeclaration(ISyntaxNode)
ParseDeclarationEnd(int)
ParseDefineDirective()
ParseDefineExpression(ref ISyntaxNode)
ParseDelegateDeclaration(ISyntaxAttributes)
ParseDictionaryAccess(ref ISyntaxNode)
ParseDimDeclaration(ISyntaxAttributes, int, bool)
ParseDirective(ref bool)
ParseDirectives()
ParseDistinctQueryOperator()
ParseDoStatement()
ParseElseIfStatement()
ParseElseStatement(bool)
ParseEndBlock(int)
ParseEndStatement()
ParseEnumBody()
ParseEnumDeclaration(ISyntaxNode)
ParseEnumMember()
ParseEqualityExpression(ref ISyntaxNode)
ParseEraseStatement()
ParseErrorStatement()
ParseEventAccessor(NetNodeType)
ParseEventAccessorDeclaration(ISyntaxNode)
ParseEventDeclaration(ISyntaxAttributes)
ParseEventHandlerStatement(int)
ParseExclusiveOrExpression(ref ISyntaxNode)
ParseExitStatement()
ParseExpression(ref ISyntaxNode)
ParseExpressionBlockStatement(int, int)
ParseExpressionBlockStatement(int[], int, int, bool)
ParseExpressionBlockStatementEnd(int)
ParseExpressionList(ref ISyntaxNode)
ParseExpressionRangeVariableDeclaration(ref ISyntaxNode)
ParseExpressionRangeVariableDeclarationList(ref ISyntaxNode)
ParseExpressionStatement()
ParseFieldDeclaration(ISyntaxAttributes, Point, string, ISyntaxNodes, int, string)
ParseFinallyStatement()
ParseForEachStatement(ISyntaxNode)
ParseForIterator()
ParseForStatement()
ParseFromQueryOperator()
ParseGetTypeExpression(ref ISyntaxNode)
ParseGotoStatement()
ParseGroupByQueryOperator(ISyntaxNode)
ParseGroupJoinQueryOperator(ISyntaxNode)
ParseGroupQueryOperator()
ParseHandlesClause()
ParseIdentifier(out string)
ParseIfStatement()
ParseImplements(out string)
ParseImplementsClause()
ParseImportDeclaration()
ParseImportDeclaration(ISyntaxNode)
ParseImportsList()
ParseImportsList(ISyntaxNode)
ParseInclusiveOrExpression(ref ISyntaxNode)
ParseInherits(out string, bool)
ParseInheritsOrImplementsClause(ISyntaxNode)
ParseInvocationExpression(ref ISyntaxNode)
ParseJoinCondition(ref ISyntaxNode)
ParseJoinConditionList(ref ISyntaxNode)
ParseJoinOrGroupJoinQueryOperator()
ParseJoinQueryOperator()
ParseKnownMemberDeclaration(ISyntaxAttributes)
ParseLabelName(out string)
ParseLambdaExpression(ref ISyntaxNode)
ParseLetQueryOperator()
ParseLocalDeclarationStatement(bool)
ParseLoopControlVariable()
ParseMeAccess(ref ISyntaxNode)
ParseMeAccess(ref ISyntaxNode, int)
ParseMemberAccess(ref ISyntaxNode)
ParseMemberAccess(ref ISyntaxNode, int)
ParseMethodBlock(int, int[])
ParseMethodBody(ISyntaxNode, int)
ParseMethodBody(ISyntaxNode, int, int[])
ParseMethodDeclaration(ISyntaxAttributes)
ParseMethodDeclaration(ISyntaxNode, int, bool)
ParseMidAssignmentStatement()
ParseModifiers(ref ISyntaxAttributes)
ParseMultiplicativeExpression(ref ISyntaxNode)
ParseNameofExpression(ref ISyntaxNode)
ParseNewExpression(ref ISyntaxNode)
ParseNullConditionalExpression(ref ISyntaxNode)
ParseObjectInitializerExpression(ref ISyntaxNode)
ParseOnErrorStatement()
ParseOperatorDeclaration(ISyntaxAttributes)
ParseOptionStatement()
ParseOrderByQueryOperator()
ParseOrderExpression(ref ISyntaxNode)
ParseOrderExpressionList(ref ISyntaxNode)
ParseParameterDeclaration()
ParseParameterListDeclaration()
ParseParameterListDeclaration(VbLexerToken, VbLexerToken)
ParseParenthesizedExpression(ref ISyntaxNode)
ParsePositionalOrNamedParam()
ParsePrefixedUnaryExpression(ref ISyntaxNode)
ParsePrimaryExpression(ref ISyntaxNode)
ParsePropertyDeclaration(ISyntaxAttributes)
ParsePropertyDeclaration(ISyntaxNode)
ParseQualifiedIdentifier(out string)
ParseQueryExpression(ref ISyntaxNode)
ParseQueryOperator(out bool)
ParseRaiseEventStatement()
ParseRankSpecifier(out string)
ParseRedimClause()
ParseRedimStatement()
ParseRelationalExpression(ref ISyntaxNode)
ParseRemoveHandlerStatement()
ParseResumeStatement()
ParseReturnStatement()
ParseSelectQueryOperator()
ParseSelectStatement()
ParseShiftExpression(ref ISyntaxNode)
ParseSimpleExpression(ref ISyntaxNode)
ParseSimpleVariable(ref bool)
ParseSkipWhileQueryOperator(Point)
ParseStatement()
ParseStatementExpression()
ParseStatementTerminator()
ParseStatementTerminator(int)
ParseStopOrEndStatement(int)
ParseStopStatement()
ParseStringExpression(out string)
ParseSyncLockStatement()
ParseTakeWhileQueryOperator()
ParseThrowOrReturnStatement(int)
ParseThrowStatement()
ParseTryStatement()
ParseTupleFieldDeclaration(Point, NetNodeType)
ParseTupleInitializerExpression(ref ISyntaxNode)
ParseType(out string)
ParseTypeIdentifier(out string)
ParseTypeName(out string)
ParseTypeParameterConstraintsClause()
ParseTypeParameterConstraintsClauses()
ParseTypeParameterList()
ParseTypeofIsExpression(ref ISyntaxNode)
ParseUnitBody()
ParseUsingDeclaration(ISyntaxNode)
ParseUsingList(ISyntaxNode)
ParseUsingStatement()
ParseVariableIdentifier(out string, out string)
ParseVariableInitializer(ref ISyntaxNode)
ParseVariableMemberDeclaration(ISyntaxAttributes, Point, int, bool)
ParseWhereQueryOperator()
ParseWhileStatement()
ParseWithStatement()
ParseWithStatemetMember(ref ISyntaxNode)
ParseXmlIdentifier(out string)
ParseXmlQualifiedIdentifier(out string)
ProcessAutoComplete(string, Point, out string)

Checks whether end-of-block code needs inserting.

ProcessXmlNode(ISyntaxNode)
ReparseBlock(Point)

Reparses syntax block at specified position.

ReparseBlock(ref Point, string, out ISyntaxNode, CodeCompletionType)

Reparses syntax block at specified position.

Reset()

Resets Parser to the start position.

ResetCodeCompletionChars()

Resets the CodeCompletionChars to the default value.

ResetOptions()

Resets Options to the default value.

ResetSmartFormatChars()

Resets SmartFormatChars to the default value.

ShouldOutlineCommentNode(ISyntaxNode)
ShouldSerializeCodeCompletionChars()

Indicates whether the CodeCompletionChars property should be persisted.

ShouldSerializeOptions()

Indicates whether the Options property should be persisted.

ShouldSerializeSmartFormatChars()

Indicates whether the SmartFormatChars property should be persisted.

SkipToEndIf(bool, bool)
SmartCapitalize(string, StringItemInfo[], ITextUndoList)
SmartFormatLine(int, string, StringItemInfo[], ITextUndoList, out bool)

Formats line according to the parser rules.

StartExpression()
SupportsContentDividers()

Indicates whether content dividers are supported.

SyntaxError(int)
TryParseArraySizeInitializationModifier(out string)
TryParseAssignmentExpression(ref ISyntaxNode)
TryParseAttributeModifier()
TryParseLabeledStatement(out bool)
TryParsePostPrimaryExpression(ref ISyntaxNode, int)
TryParseRankSpecifiers(out string)
TryParseTupleType(out string, out ISyntaxNode, out bool)
TryParseTypeArgumentList(ref string)
TryParseWhileOrUntil(out bool)
TryParseXmlLiteralExpression(ref ISyntaxNode, ref bool)