TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.AcceptWhile 方法

定义

重载

AcceptWhile(TSymbolType, TSymbolType)
AcceptWhile(TSymbolType[])
AcceptWhile(TSymbolType, TSymbolType, TSymbolType)
AcceptWhile(Func<TSymbol,Boolean>)
AcceptWhile(TSymbolType)

AcceptWhile(TSymbolType, TSymbolType)

protected public:
 void AcceptWhile(TSymbolType type1, TSymbolType type2);
protected internal void AcceptWhile (TSymbolType type1, TSymbolType type2);
member this.AcceptWhile : 'SymbolType * 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type1 As TSymbolType, type2 As TSymbolType)

参数

type1
TSymbolType
type2
TSymbolType

适用于

AcceptWhile(TSymbolType[])

protected public:
 void AcceptWhile(... cli::array <TSymbolType> ^ types);
protected internal void AcceptWhile (params TSymbolType[] types);
member this.AcceptWhile : 'SymbolType[] -> unit
Protected Friend Sub AcceptWhile (ParamArray types As TSymbolType())

参数

types
TSymbolType[]

适用于

AcceptWhile(TSymbolType, TSymbolType, TSymbolType)

protected public:
 void AcceptWhile(TSymbolType type1, TSymbolType type2, TSymbolType type3);
protected internal void AcceptWhile (TSymbolType type1, TSymbolType type2, TSymbolType type3);
member this.AcceptWhile : 'SymbolType * 'SymbolType * 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type1 As TSymbolType, type2 As TSymbolType, type3 As TSymbolType)

参数

type1
TSymbolType
type2
TSymbolType
type3
TSymbolType

适用于

AcceptWhile(Func<TSymbol,Boolean>)

protected public:
 void AcceptWhile(Func<TSymbol, bool> ^ condition);
protected internal void AcceptWhile (Func<TSymbol,bool> condition);
member this.AcceptWhile : Func<'Symbol, bool (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)> -> unit
Protected Friend Sub AcceptWhile (condition As Func(Of TSymbol, Boolean))

参数

condition
Func<TSymbol,Boolean>

适用于

AcceptWhile(TSymbolType)

protected public:
 void AcceptWhile(TSymbolType type);
protected internal void AcceptWhile (TSymbolType type);
member this.AcceptWhile : 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type As TSymbolType)

参数

type
TSymbolType

适用于