Freigeben über


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> Klasse

Definition

generic <typename TTokenizer, typename TSymbol, typename TSymbolType>
 where TTokenizer : Tokenizer<TSymbol, TSymbolType> where TSymbol : SymbolBase<TSymbolType> where TSymbolType : value classpublic ref class TokenizerBackedParser abstract : Microsoft::AspNetCore::Razor::Parser::ParserBase
public abstract class TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> : Microsoft.AspNetCore.Razor.Parser.ParserBase where TTokenizer : Tokenizer<TSymbol,TSymbolType> where TSymbol : SymbolBase<TSymbolType> where TSymbolType : struct
type TokenizerBackedParser<'okenizer, 'Symbol, 'SymbolType (requires 'okenizer :> Tokenizer<'Symbol, 'SymbolType> and 'Symbol :> SymbolBase<'SymbolType> and 'SymbolType : struct)> = class
    inherit ParserBase
Public MustInherit Class TokenizerBackedParser(Of TTokenizer, TSymbol, TSymbolType)
Inherits ParserBase

Typparameter

TTokenizer
TSymbol
TSymbolType
Vererbung
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>
Abgeleitet

Konstruktoren

TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>()

Eigenschaften

Context (Geerbt von ParserBase)
CurrentLocation
CurrentSymbol
EndOfFile
IsMarkupParser (Geerbt von ParserBase)
Language
OtherParser (Geerbt von ParserBase)
PreviousSymbol
Span
SpanConfig
Tokenizer

Methoden

Accept(IEnumerable<TSymbol>)
Accept(TSymbol)
AcceptAll(TSymbolType[])
AcceptAndMoveNext()
AcceptSingleWhiteSpaceCharacter()
AcceptUntil(TSymbolType, TSymbolType, TSymbolType)
AcceptUntil(TSymbolType, TSymbolType)
AcceptUntil(TSymbolType)
AcceptUntil(TSymbolType[])
AcceptWhile(Func<TSymbol,Boolean>)
AcceptWhile(TSymbolType, TSymbolType, TSymbolType)
AcceptWhile(TSymbolType, TSymbolType)
AcceptWhile(TSymbolType)
AcceptWhile(TSymbolType[])
AcceptWhiteSpaceInLines()
AddMarkerSymbolIfNecessary()
AddMarkerSymbolIfNecessary(SourceLocation)
At(TSymbolType)
AtIdentifier(Boolean)
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation)
Balance(BalancingModes)
BuildSpan(SpanBuilder, SourceLocation, String)
ConfigureSpan(Action<SpanBuilder,Action<SpanBuilder>>)
ConfigureSpan(Action<SpanBuilder>)
EnsureCurrent()
Expected(KnownSymbolType)
Expected(TSymbolType[])
HandleEmbeddedTransition()
Initialize(SpanBuilder)
IsAtEmbeddedTransition(Boolean, Boolean)
Lookahead(Int32)
NextIs(Func<TSymbol,Boolean>)
NextIs(TSymbolType)
NextIs(TSymbolType[])
NextToken()
Optional(KnownSymbolType)
Optional(TSymbolType)
Output(AcceptedCharacters)
Output(SpanKind, AcceptedCharacters)
Output(SpanKind)
OutputSpanBeforeRazorComment()
ParseBlock() (Geerbt von ParserBase)
ParseDocument() (Geerbt von ParserBase)
ParseSection(Tuple<String,String>, Boolean) (Geerbt von ParserBase)
PushSpanConfig()
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>)
PushSpanConfig(Action<SpanBuilder>)
PutBack(IEnumerable<TSymbol>)

Setzen Sie die angegebenen Symbole wieder in den Eingabedatenstrom. Die angegebene Liste MUSS in der REIHENFOLGE SEIN, IN DER DIE SYMBOLE GELESEN WURDEN. Die Liste wird umgekehrt, und das Putback(TSymbol) wird für jedes Element aufgerufen.

PutBack(TSymbol)
PutCurrentBack()
RazorComment()
ReadWhile(Func<TSymbol,Boolean>)
Required(TSymbolType, Boolean, Func<String,String>)
SymbolTypeEquals(TSymbolType, TSymbolType)
Was(TSymbolType)

Gilt für: