Share via


MvcVBRazorCodeParser Class

Extends the VBCodeParser class by adding support for the @model keyword.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Parser.ParserBase
    System.Web.Razor.Parser.CodeParser
      System.Web.Razor.Parser.VBCodeParser
        System.Web.Mvc.Razor.MvcVBRazorCodeParser

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

Syntax

'Declaration
Public Class MvcVBRazorCodeParser _
    Inherits VBCodeParser
'Usage
Dim instance As MvcVBRazorCodeParser
public class MvcVBRazorCodeParser : VBCodeParser
public ref class MvcVBRazorCodeParser : public VBCodeParser
public class MvcVBRazorCodeParser extends VBCodeParser

The MvcVBRazorCodeParser type exposes the following members.

Constructors

  Name Description
Public method MvcVBRazorCodeParser Initializes a new instance of the MvcVBRazorCodeParser class.

Top

Properties

  Name Description
Public property Context (Inherited from ParserBase.)
Protected property CurrentCharacter (Inherited from ParserBase.)
Protected property CurrentLocation (Inherited from ParserBase.)
Protected property DesignTimeMode (Inherited from ParserBase.)
Protected property EndOfFile (Inherited from ParserBase.)
Protected property HaveContent (Inherited from ParserBase.)
Protected property InTemporaryBuffer (Inherited from ParserBase.)
Protected property KeywordHandlers (Inherited from VBCodeParser.)
Protected property OtherParser (Inherited from CodeParser.)
Protected property TopLevelKeywords (Inherited from VBCodeParser.)

Top

Methods

  Name Description
Protected method AcceptDottedExpression (Inherited from CodeParser.)
Protected method AcceptGenericArgument (Inherited from VBCodeParser.)
Protected method AcceptLineWithBlockComments (Inherited from ParserBase.)
Protected method AcceptTypeName() (Inherited from CodeParser.)
Protected method AcceptTypeName(Boolean) (Inherited from CodeParser.)
Protected method AcceptUntilUnquoted (Inherited from CodeParser.)
Protected method AcceptWhiteSpaceByLines (Inherited from CodeParser.)
Protected method BalanceBrackets() (Inherited from CodeParser.)
Protected method BalanceBrackets(Boolean) (Inherited from CodeParser.)
Protected method BalanceBrackets(Boolean, SpanFactory) (Inherited from CodeParser.)
Protected method BalanceBrackets(Boolean, SpanFactory, Boolean) (Inherited from CodeParser.)
Protected method BalanceBrackets(Boolean, SpanFactory, Boolean, Char) (Inherited from CodeParser.)
Protected method BalanceBrackets(Boolean, SpanFactory, Boolean, Nullable<Char>, Boolean) (Inherited from CodeParser.)
Protected method CreateImplicitExpressionSpan (Inherited from CodeParser.)
Protected method End(SpanFactory) (Inherited from ParserBase.)
Protected method End(Span) (Inherited from ParserBase.)
Protected method EndBlock (Inherited from ParserBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method HandleReservedWord (Inherited from VBCodeParser.)
Protected method HandleTransition (Inherited from VBCodeParser.)
Public method IsAtExplicitTransition (Inherited from VBCodeParser.)
Public method IsAtImplicitTransition (Inherited from VBCodeParser.)
Public method IsAtTransition (Inherited from ParserBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NextIsTransition (Inherited from ParserBase.)
Protected method OnError(SourceLocation, String) (Inherited from ParserBase.)
Protected method OnError(SourceLocation, String, Object[]) (Inherited from ParserBase.)
Protected method Output (Inherited from ParserBase.)
Public method ParseBlock (Inherited from VBCodeParser.)
Protected method ParseBlockStart (Inherited from CodeParser.)
Protected method ParseBlockWithOtherParser(SpanFactory) (Inherited from ParserBase.)
Protected method ParseBlockWithOtherParser(SpanFactory, Boolean) (Inherited from ParserBase.)
Protected method ParseComment (Inherited from ParserBase.)
Protected method ParseInheritsStatement Sets a value that indicates whether the current code block and model should be inherited. (Overrides VBCodeParser.ParseInheritsStatement(CodeBlockInfo).)
Protected method RequireSingleWhiteSpace (Inherited from CodeParser.)
Protected method StartBlock(BlockType) (Inherited from ParserBase.)
Protected method StartBlock(BlockType, Boolean) (Inherited from ParserBase.)
Public method ToString (Inherited from Object.)
Protected method TryAcceptStringOrComment (Inherited from VBCodeParser.)
Protected method TryParseComment (Inherited from ParserBase.)
Protected method TryRecover(RecoveryModes) (Inherited from CodeParser.)
Protected method TryRecover(Boolean, SpanFactory) (Inherited from CodeParser.)
Protected method TryRecover(RecoveryModes, Predicate<Char>, Boolean, SpanFactory) (Inherited from CodeParser.)

Top

Thread Safety

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

See Also

Reference

System.Web.Mvc.Razor Namespace