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