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

定义

重载

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

参数

返回

适用于

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

参数

left
TSymbolType
right
TSymbolType

返回

适用于