Condividi tramite


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> Classe

Definizione

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

Parametri di tipo

TTokenizer
TSymbol
TSymbolType
Ereditarietà
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>
Derivato

Costruttori

TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>()

Proprietà

Context (Ereditato da ParserBase)
CurrentLocation
CurrentSymbol
EndOfFile
IsMarkupParser (Ereditato da ParserBase)
Language
OtherParser (Ereditato da ParserBase)
PreviousSymbol
Span
SpanConfig
Tokenizer

Metodi

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

Inserire nuovamente i simboli specificati nel flusso di input. L'elenco specificato DEVE trovarsi nell'ORDINE I SIMBOLI SONO STATI LETTI. L'elenco VERRÀ invertito e il Putback(TSymbol) verrà chiamato su ogni elemento.

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

Si applica a