Tokenizer<TSymbol,TSymbolType> Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
generic <typename TSymbol, typename TSymbolType>
where TSymbol : SymbolBase<TSymbolType> where TSymbolType : value classpublic ref class Tokenizer abstract : Microsoft::AspNetCore::Razor::Tokenizer::ITokenizer
public abstract class Tokenizer<TSymbol,TSymbolType> : Microsoft.AspNetCore.Razor.Tokenizer.ITokenizer where TSymbol : SymbolBase<TSymbolType> where TSymbolType : struct
type Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> SymbolBase<'SymbolType> and 'SymbolType : struct)> = class
interface ITokenizer
Public MustInherit Class Tokenizer(Of TSymbol, TSymbolType)
Implements ITokenizer
Parametri di tipo
- TSymbol
- TSymbolType
- Ereditarietà
-
Tokenizer<TSymbol,TSymbolType>
- Implementazioni
Costruttori
| Tokenizer<TSymbol,TSymbolType>(ITextDocument) |
Proprietà
| Buffer | |
| CurrentCharacter | |
| CurrentErrors | |
| CurrentLocation | |
| CurrentStart | |
| CurrentState | |
| CurrentSymbol | |
| EndOfFile | |
| HaveContent | |
| RazorCommentStarType | |
| RazorCommentTransitionType | |
| RazorCommentType | |
| Source | |
| StartState |
Metodi
| AfterRazorCommentTransition() | |
| AtSymbolAfterRazorCommentBody() | |
| CreateSymbol(SourceLocation, String, TSymbolType, IReadOnlyList<RazorError>) | |
| Dispatch() | |
| EndSymbol(SourceLocation, TSymbolType) | |
| EndSymbol(TSymbolType) | |
| MoveNext() | |
| NextSymbol() | |
| Peek() | |
| RazorCommentBody() | |
| Reset() | |
| Single(TSymbolType) | |
| StarAfterRazorCommentBody() | |
| StartSymbol() | |
| Stay() |
Restituisce un risultato che indica che questo stato non ha output e che il computer deve rimanere in questo stato |
| Stay(TSymbol) |
Restituisce un risultato contenente l'output specificato e indica che la chiamata successiva a Turn() deve richiamare nuovamente lo stato corrente. |
| Stop() |
Restituisce un risultato che indica che il computer deve interrompere l'esecuzione e restituire l'output Null. |
| TakeAll(String, Boolean) | |
| TakeCurrent() | |
| TakeUntil(Func<Char,Boolean>) | |
| Transition(Int32) |
Restituisce un risultato che indica che questo stato non ha output e che il computer deve richiamare immediatamente lo stato specificato |
| Transition(Int32, TSymbol) |
Restituisce un risultato contenente l'output specificato e indica che la chiamata successiva a Turn() deve richiamare lo stato specificato. |
| Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState) | |
| Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState, TSymbol) | |
| Turn() | |
Implementazioni dell'interfaccia esplicita
| ITokenizer.NextSymbol() |