TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Balance 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Balance(BalancingModes) | |
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation) |
Balance(BalancingModes)
protected public:
bool Balance(Microsoft::AspNetCore::Razor::Parser::BalancingModes mode);
protected internal bool Balance (Microsoft.AspNetCore.Razor.Parser.BalancingModes mode);
member this.Balance : Microsoft.AspNetCore.Razor.Parser.BalancingModes -> bool
Protected Friend Function Balance (mode As BalancingModes) As Boolean
参数
- mode
- BalancingModes
返回
适用于
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation)
protected public:
bool Balance(Microsoft::AspNetCore::Razor::Parser::BalancingModes mode, TSymbolType left, TSymbolType right, Microsoft::AspNetCore::Razor::SourceLocation start);
protected internal bool Balance (Microsoft.AspNetCore.Razor.Parser.BalancingModes mode, TSymbolType left, TSymbolType right, Microsoft.AspNetCore.Razor.SourceLocation start);
member this.Balance : Microsoft.AspNetCore.Razor.Parser.BalancingModes * 'SymbolType * 'SymbolType * Microsoft.AspNetCore.Razor.SourceLocation -> bool
Protected Friend Function Balance (mode As BalancingModes, left As TSymbolType, right As TSymbolType, start As SourceLocation) As Boolean
参数
- mode
- BalancingModes
- left
- TSymbolType
- right
- TSymbolType
- start
- SourceLocation