MvcVBRazorCodeParser Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extends the VBCodeParser class by adding support for the @model keyword.
public class MvcVBRazorCodeParser : System.Web.Razor.Parser.VBCodeParser
type MvcVBRazorCodeParser = class
inherit VBCodeParser
Public Class MvcVBRazorCodeParser
Inherits VBCodeParser
- Inheritance
-
MvcVBRazorCodeParser
Constructors
MvcVBRazorCodeParser() |
Initializes a new instance of the MvcVBRazorCodeParser class. |
Properties
Context |
This 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) |
CurrentLocation |
This 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>) |
CurrentSymbol |
This 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>) |
EndOfFile |
This 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>) |
IsMarkupParser |
This 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) |
Keywords |
This 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. (Inherited from VBCodeParser) |
Language |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the language for the parser. (Inherited from VBCodeParser) |
OtherParser |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the other parser. (Inherited from VBCodeParser) |
PreviousSymbol |
This 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>) |
Span |
This 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>) |
SpanConfig |
This 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>) |
Tokenizer |
This 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>) |
Methods
Accept(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>) |
Accept(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>) |
AcceptAll(TSymbolType[]) |
This 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>) |
AcceptAndMoveNext() |
This 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>) |
AcceptSingleWhiteSpaceCharacter() |
This 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>) |
AcceptUntil(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>) |
AcceptUntil(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>) |
AcceptUntil(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>) |
AcceptUntil(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 types is found. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
AcceptVBSpaces() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts spaces in the VB code. (Inherited from VBCodeParser) |
AcceptWhile(Func<TSymbol,Boolean>) |
Accepts token while the condition has been reached. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
AcceptWhile(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>) |
AcceptWhile(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>) |
AcceptWhile(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>) |
AcceptWhile(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 types has been reached. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
AcceptWhiteSpaceInLines() |
This 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>) |
AddMarkerSymbolIfNecessary() |
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>) |
AddMarkerSymbolIfNecessary(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>) |
Assert(VBKeyword) |
This 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. (Inherited from VBCodeParser) |
AssertDirective(String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Asserts the given directive. (Inherited from VBCodeParser) |
At(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. (Inherited from VBCodeParser) |
At(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>) |
At(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’. (Inherited from VBCodeParser) |
AtIdentifier(Boolean) |
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 identifier. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
Balance(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>) |
Balance(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>) |
BuildSpan(SpanBuilder, SourceLocation, String) |
This 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>) |
ConfigureSpan(Action<SpanBuilder,Action<SpanBuilder>>) |
Configures the span. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
ConfigureSpan(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>) |
EndTerminatedDirective(String, BlockType, SpanCodeGenerator, Boolean) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Ends a terminated directive. (Inherited from VBCodeParser) |
EndTerminatedDirectiveBody(String, SourceLocation, Boolean) |
This 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. (Inherited from VBCodeParser) |
EndTerminatedStatement(VBKeyword, Boolean, Boolean, String) |
Ends a termination of statement. (Inherited from VBCodeParser) |
EndTerminatedStatement(VBKeyword, Boolean, Boolean) |
Ends a termination of statement. (Inherited from VBCodeParser) |
EnsureCurrent() |
This 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>) |
Expected(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>) |
Expected(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>) |
HandleEmbeddedTransition() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition. (Inherited from VBCodeParser) |
HandleEmbeddedTransition(VBSymbol) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition. (Inherited from VBCodeParser) |
HandleExitOrContinue(VBKeyword) |
This 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. (Inherited from VBCodeParser) |
HandleTransition(VBSymbol) |
This 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. (Inherited from VBCodeParser) |
HelperDirective() |
This 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. (Inherited from VBCodeParser) |
ImportsStatement() |
This 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. (Inherited from VBCodeParser) |
InheritsStatement() |
Sets a value that indicates whether the current code block and model should be inherited. |
Initialize(SpanBuilder) |
This 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>) |
IsAtEmbeddedTransition(Boolean, Boolean) |
This 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. (Inherited from VBCodeParser) |
IsDirectiveDefined(String) |
This 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. (Inherited from VBCodeParser) |
KeywordTerminatedStatement(VBKeyword, VBKeyword, Boolean, Boolean) |
Indicates a keyword that terminates a statement. (Inherited from VBCodeParser) |
LayoutDirective() |
This 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. (Inherited from VBCodeParser) |
MapDirective(String, Func<Boolean>) |
Maps a given directive. (Inherited from VBCodeParser) |
MapKeyword(VBKeyword, Func<Boolean>) |
Maps a given keyword. (Inherited from VBCodeParser) |
ModelTypeDirective() |
The Model Type Directive. |
NestedBlock() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a nested block. (Inherited from VBCodeParser) |
NextIs(Func<TSymbol,Boolean>) |
Determines whether the token with the given condition would pass. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
NextIs(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>) |
NextIs(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 types would pass. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
NextToken() |
This 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>) |
Optional(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>) |
Optional(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>) |
Optional(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. (Inherited from VBCodeParser) |
OptionStatement() |
This 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. (Inherited from VBCodeParser) |
OtherParserBlock() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the parser block. (Inherited from VBCodeParser) |
OtherParserBlock(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. (Inherited from VBCodeParser) |
Output(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>) |
Output(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>) |
Output(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>) |
OutputSpanBeforeRazorComment() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Spans the output before Razor comment. (Inherited from VBCodeParser) |
ParseBlock() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Blocks the parsing. (Inherited from VBCodeParser) |
ParseDocument() |
This 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) |
ParseSection(Tuple<String,String>, Boolean) |
Parses the section in ordered list of the elements. (Inherited from ParserBase) |
PushSpanConfig() |
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>) |
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>) |
Pushes the span configuration. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
PushSpanConfig(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>) |
PutBack(IEnumerable<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>) |
PutBack(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>) |
PutCurrentBack() |
This 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>) |
RazorComment() |
This 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>) |
ReadVBSpaces() |
This 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. (Inherited from VBCodeParser) |
ReadWhile(Func<TSymbol,Boolean>) |
Reads a token while the condition is not reached. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |
Required(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>) |
Required(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. (Inherited from VBCodeParser) |
ReservedWord() |
This 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. (Inherited from VBCodeParser) |
SectionDirective() |
This 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. (Inherited from VBCodeParser) |
SessionStateDirective() |
This 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. (Inherited from VBCodeParser) |
Was(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 was parsed. (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>) |