Partilhar via


Tokenizer<TSymbol,TSymbolType>.Transition Método

Definição

Sobrecargas

Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState, TSymbol)
Transition(Int32)

Retorna um resultado que indica que esse estado não tem saída e o computador deve invocar imediatamente o estado especificado

Transition(Int32, TSymbol)

Retorna um resultado que contém a saída especificada e indica que a próxima chamada para Turn() deve invocar o estado fornecido.

Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState)

Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState, TSymbol)

protected:
 Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Transition(Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::RazorCommentTokenizerState state, TSymbol result);
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Transition (Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState state, TSymbol result);
member this.Transition : Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.RazorCommentTokenizerState * 'Symbol -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Transition (state As Tokenizer(Of TSymbol, TSymbolType).RazorCommentTokenizerState, result As TSymbol) As Tokenizer(Of TSymbol, TSymbolType).StateResult

Parâmetros

result
TSymbol

Retornos

Aplica-se a

Transition(Int32)

Retorna um resultado que indica que esse estado não tem saída e o computador deve invocar imediatamente o estado especificado

protected:
 Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Transition(int state);
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Transition (int state);
member this.Transition : int -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Transition (state As Integer) As Tokenizer(Of TSymbol, TSymbolType).StateResult

Parâmetros

state
Int32

Retornos

Comentários

Ao não retornar nenhuma saída, o computador de estado invocará o próximo estado imediatamente, antes de retornar o controlador ao chamador de Turn()

Aplica-se a

Transition(Int32, TSymbol)

Retorna um resultado que contém a saída especificada e indica que a próxima chamada para Turn() deve invocar o estado fornecido.

protected:
 Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Transition(int state, TSymbol result);
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Transition (int state, TSymbol result);
member this.Transition : int * 'Symbol -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Transition (state As Integer, result As TSymbol) As Tokenizer(Of TSymbol, TSymbolType).StateResult

Parâmetros

state
Int32
result
TSymbol

Retornos

Aplica-se a

Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState)

protected:
 Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::StateResult Transition(Microsoft::AspNetCore::Razor::Tokenizer::Tokenizer<TSymbol, TSymbolType>::RazorCommentTokenizerState state);
protected Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.StateResult Transition (Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState state);
member this.Transition : Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.RazorCommentTokenizerState -> Microsoft.AspNetCore.Razor.Tokenizer.Tokenizer<'Symbol, 'SymbolType (requires 'Symbol :> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'SymbolType : struct)>.StateResult
Protected Function Transition (state As Tokenizer(Of TSymbol, TSymbolType).RazorCommentTokenizerState) As Tokenizer(Of TSymbol, TSymbolType).StateResult

Parâmetros

Retornos

Aplica-se a