Partager via


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> Classe

Définition

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

Paramètres de type

TTokenizer
TSymbol
TSymbolType
Héritage
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>
Dérivé

Constructeurs

TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>()

Propriétés

Context (Hérité de ParserBase)
CurrentLocation
CurrentSymbol
EndOfFile
IsMarkupParser (Hérité de ParserBase)
Language
OtherParser (Hérité de ParserBase)
PreviousSymbol
Span
SpanConfig
Tokenizer

Méthodes

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() (Hérité de ParserBase)
ParseDocument() (Hérité de ParserBase)
ParseSection(Tuple<String,String>, Boolean) (Hérité de ParserBase)
PushSpanConfig()
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>)
PushSpanConfig(Action<SpanBuilder>)
PutBack(IEnumerable<TSymbol>)

Remettez les symboles spécifiés dans le flux d’entrée. La liste fournie doit être dans l’ORDRE DANS LEQUEL LES SYMBOLES ONT ÉTÉ LUS. La liste sera inversée et le putback(TSymbol) sera appelé sur chaque élément.

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

S’applique à