Tokenizer<TSymbol,TSymbolType>.Transition 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Transition(Tokenizer<TSymbol,TSymbolType>.RazorCommentTokenizerState, TSymbol) | |
Transition(Int32) |
返回一个结果,指示此状态没有输出,并且计算机应立即调用指定的状态 |
Transition(Int32, TSymbol) |
返回包含指定输出的结果,并指示对 的下一次调用 Turn() 应调用提供的状态。 |
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
参数
- result
- TSymbol
返回
适用于
Transition(Int32)
返回一个结果,指示此状态没有输出,并且计算机应立即调用指定的状态
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
参数
- state
- Int32
返回
注解
通过不返回任何输出,状态机将立即调用下一个状态,然后再将控制器返回到 的调用方 Turn()
适用于
Transition(Int32, TSymbol)
返回包含指定输出的结果,并指示对 的下一次调用 Turn() 应调用提供的状态。
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
参数
- state
- Int32
- result
- TSymbol
返回
适用于
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