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