TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a tokenizer backed parser.
public abstract class TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> : System.Web.Razor.Parser.ParserBase where TTokenizer : Tokenizer<TSymbol,TSymbolType> where TSymbol : SymbolBase<TSymbolType>
type TokenizerBackedParser<'okenizer, 'Symbol, 'SymbolType (requires 'okenizer :> Tokenizer<'Symbol, 'SymbolType> and 'Symbol :> SymbolBase<'SymbolType>)> = class
inherit ParserBase
Public MustInherit Class TokenizerBackedParser(Of TTokenizer, TSymbol, TSymbolType)
Inherits ParserBase
Type Parameters
- TTokenizer
The type of tokenizer.
- TSymbol
The type of symbol.
- TSymbolType
The type of SymbolType.
- Inheritance
- Derived
Constructors
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> 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. |
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. |
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. |
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) |
Language |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the language used for parsing. |
OtherParser |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the other parser ParserBase. (Inherited from ParserBase) |
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. |
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. |
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. |
Tokenizer |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the tokenizer. |
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 |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
AcceptWhile(Func<TSymbol,Boolean>) |
Accepts token while the condition has been reached. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
ConfigureSpan(Action<SpanBuilder,Action<SpanBuilder>>) |
Configures the span. |
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. |
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. |
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. |
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. |
HandleEmbeddedTransition() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition. |
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. |
IsAtEmbeddedTransition(Boolean, Boolean) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether this instance is at embedded transition. |
NextIs(Func<TSymbol,Boolean>) |
Determines whether the token with the given condition would pass. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
OutputSpanBeforeRazorComment() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a span before the razor comment. |
ParseBlock() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Blocks the parser. (Inherited from ParserBase) |
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. |
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>) |
Pushes the span configuration. |
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. |
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. |
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. |
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. |
RazorComment() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Displays the razor comment. |
ReadWhile(Func<TSymbol,Boolean>) |
Reads a token while the condition is not reached. |
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. |
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. |