共用方式為


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType> 類別

定義

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

類型參數

TTokenizer
TSymbol
TSymbolType
繼承
TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>
衍生

建構函式

TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>()

屬性

Context (繼承來源 ParserBase)
CurrentLocation
CurrentSymbol
EndOfFile
IsMarkupParser (繼承來源 ParserBase)
Language
OtherParser (繼承來源 ParserBase)
PreviousSymbol
Span
SpanConfig
Tokenizer

方法

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() (繼承來源 ParserBase)
ParseDocument() (繼承來源 ParserBase)
ParseSection(Tuple<String,String>, Boolean) (繼承來源 ParserBase)
PushSpanConfig()
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>)
PushSpanConfig(Action<SpanBuilder>)
PutBack(IEnumerable<TSymbol>)

將指定的符號放回輸入資料流程中。 提供的清單必須依符號已讀取的順序排列。 清單將會反轉,且每個專案上都會呼叫 Putback (TSymbol) 。

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

適用於