VBCodeParser Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a Visual Basic code parser.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public class VBCodeParser : TokenizerBackedParser<VBTokenizer, VBSymbol, VBSymbolType>

The VBCodeParser type exposes the following members.

  NameDescription
Public methodVBCodeParserThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the VBCodeParser class.
Top

  NameDescription
Public propertyContextThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the ParserContext. (Inherited from ParserBase.)
Protected propertyCurrentLocationThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current location of the current instance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected propertyCurrentSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current symbol of this instance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected propertyEndOfFileThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the tokenizer is in the end of file. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Public propertyIsMarkupParserThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the parser is a markup parser. (Inherited from ParserBase.)
Protected propertyKeywordsThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the keywords associated with the code.
Protected propertyLanguageThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the language for the parser. (Overrides TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.Language.)
Protected propertyOtherParserThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the other parser. (Overrides ParserBase.OtherParser.)
Protected propertyPreviousSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code..Gets the previous symbol of this instance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected propertySpanThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the SpanBuilder associated with this instance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected propertySpanConfigThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the span configuration. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected propertyTokenizerThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the tokenizer. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Top

  NameDescription
Protected methodAccept(IEnumerable<TSymbol>)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the list of symbols (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAccept(TSymbol)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the specified symbol. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptAllThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts all types of tokenizer. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptAndMoveNextThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts and moves to the next tokenizer. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptSingleWhiteSpaceCharacterThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts single whitespace character. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptUntil(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token until a token of the given type is found. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptUntil(TSymbolType, TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token until a token of the given type is found and it will backup so that the next token is of the given type. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptUntil(TSymbolType, TSymbolType, TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the given tokens until a token of the given type is found. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptVBSpacesThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts spaces in the VB code.
Protected methodAcceptWhile(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the token while a token of the given type is not found. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptWhile(TSymbolType, TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token while the token of the given type has been reached. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptWhile(TSymbolType, TSymbolType, TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token while the token of the given type has been reached. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAcceptWhiteSpaceInLinesThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts whitespace in lines. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAddMarkerSymbolIfNecessary()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a marker symbol if necessary. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAddMarkerSymbolIfNecessary(SourceLocation)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a marker symbol if necessary. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAssertThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Checks for a condition and displays a keyword in the code.
Protected methodAssertDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Asserts the given directive.
Protected methodAt(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token is at the specified type. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodAt(String)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the directive is ‘AT’ directive.
Protected methodAt(VBKeyword)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the given keyword is ‘AT’.
Protected methodAtIdentifierThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token is at the specified identifier. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodBalance(BalancingModes)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodBalance(BalancingModes, TSymbolType, TSymbolType, SourceLocation)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Public methodBuildSpanThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Builds a specified span. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodConfigureSpan(Action<SpanBuilder>)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Configures the span. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodConfigureSpan(Action<SpanBuilder, Action<SpanBuilder>>)Configures the span. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodEndTerminatedDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Ends a terminated directive.
Protected methodEndTerminatedDirectiveBodyThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the termination of directive body is ended.
Protected methodEndTerminatedStatement(VBKeyword, Boolean, Boolean)Ends a termination of statement.
Protected methodEndTerminatedStatement(VBKeyword, Boolean, Boolean, String)Ends a termination of statement.
Protected methodEnsureCurrentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether to ensure the current parser. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Public methodEquals (Inherited from Object.)
Protected methodExpected(TSymbolType[])This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the expected token with the given types. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodExpected(KnownSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the expected token with the given type. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodHandleEmbeddedTransition()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition. (Overrides TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.HandleEmbeddedTransition().)
Protected methodHandleEmbeddedTransition(VBSymbol)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition.
Protected methodHandleExitOrContinueThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the code that handles the Exit or Continue keyword.
Protected methodHandleTransitionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a code that handles a transition.
Protected methodHelperDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the code is a helper directive.
Protected methodImportsStatementThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code imports a statement.
Protected methodInheritsStatementThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code inherits a statement.
Protected methodInitializeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a specified span. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodIsAtEmbeddedTransitionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is at embedded transition. (Overrides TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.IsAtEmbeddedTransition(Boolean, Boolean).)
Public methodIsDirectiveDefinedThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is directive defined.
Protected methodKeywordTerminatedStatementIndicates a keyword that terminates a statement.
Protected methodLayoutDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is a layout directive.
Protected methodMapDirectiveMaps a given directive.
Protected methodMapKeywordMaps a given keyword.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNestedBlockThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a nested block.
Protected methodNextIs(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type would pass. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodNextTokenThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser advances to the next token. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOptional(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOptional(KnownSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOptional(VBKeyword)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the keyword from the code is optional.
Protected methodOptionStatementThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is an option statement.
Protected methodOtherParserBlock()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the parser block.
Protected methodOtherParserBlock(String, String)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the parser block.
Protected methodOutput(AcceptedCharacters)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with accepted characters. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOutput(SpanKind)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with span kind. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOutput(SpanKind, AcceptedCharacters)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with a given span kind and accepted characters. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodOutputSpanBeforeRazorCommentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Spans the output before Razor comment. (Overrides TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.OutputSpanBeforeRazorComment().)
Public methodParseBlockThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Blocks the parsing. (Overrides ParserBase.ParseBlock().)
Public methodParseDocumentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates documentation for the parse. (Inherited from ParserBase.)
Public methodParseSectionParses the section in ordered list of the elements. (Inherited from ParserBase.)
Protected methodPushSpanConfig()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Pushes the span configuration. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodPushSpanConfig(Action<SpanBuilder>)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Pushes the span configuration. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodPushSpanConfig(Action<SpanBuilder, Action<SpanBuilder>>)Pushes the span configuration. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodPutBack(TSymbol)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the transition back. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodPutCurrentBackThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the current transition back. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodRazorCommentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Displays the razor comment. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodReadVBSpacesThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads a list of Visual Basic spaces.
Protected methodReadWhileReads a token while the condition is not reached. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodRequired(VBSymbolType, String)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the expected symbol is required.
Protected methodRequired(TSymbolType, Boolean, String)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the expected token is required. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Protected methodReservedWordThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is a reserved word.
Protected methodSectionDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code is a section directive.
Protected methodSessionStateDirectiveThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the code has a session state directive.
Public methodToString (Inherited from Object.)
Protected methodWasThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type was parsed. (Inherited from TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: