TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Balance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. |
Balance(BalancingModes) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. |
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance.
protected internal bool Balance(System.Web.Razor.Parser.BalancingModes mode, TSymbolType left, TSymbolType right, System.Web.Razor.Text.SourceLocation start);
member this.Balance : System.Web.Razor.Parser.BalancingModes * 'SymbolType * 'SymbolType * System.Web.Razor.Text.SourceLocation -> bool
Protected Friend Function Balance (mode As BalancingModes, left As TSymbolType, right As TSymbolType, start As SourceLocation) As Boolean
Parameters
- mode
- BalancingModes
The balancing mode.
- left
- TSymbolType
The left parse.
- right
- TSymbolType
The right parse.
- start
- SourceLocation
The start of the mode.
Returns
true if the parsing is balance; otherwise, false.
Applies to
Balance(BalancingModes)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance.
protected internal bool Balance(System.Web.Razor.Parser.BalancingModes mode);
member this.Balance : System.Web.Razor.Parser.BalancingModes -> bool
Protected Friend Function Balance (mode As BalancingModes) As Boolean
Parameters
- mode
- BalancingModes
The balancing mode.
Returns
true if the parsing is balance; otherwise, false.