Udostępnij za pośrednictwem


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> Klasa

Definicja

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

Parametry typu

TTokenizer
TSymbol
TSymbolType
Dziedziczenie
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>
Pochodne

Konstruktory

TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>()

Właściwości

Context (Odziedziczone po ParserBase)
CurrentLocation
CurrentSymbol
EndOfFile
IsMarkupParser (Odziedziczone po ParserBase)
Language
OtherParser (Odziedziczone po ParserBase)
PreviousSymbol
Span
SpanConfig
Tokenizer

Metody

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() (Odziedziczone po ParserBase)
ParseDocument() (Odziedziczone po ParserBase)
ParseSection(Tuple<String,String>, Boolean) (Odziedziczone po ParserBase)
PushSpanConfig()
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>)
PushSpanConfig(Action<SpanBuilder>)
PutBack(IEnumerable<TSymbol>)

Umieść określone symbole z powrotem w strumieniu wejściowym. Podana lista MUSI znajdować się w KOLEJNOŚCI ODCZYTYWANIA SYMBOLI. Lista zostanie odwrócona, a element Putback(TSymbol) zostanie wywołany dla każdego elementu.

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

Dotyczy