TokenizerBackedParser(TTokenizer, TSymbol, TSymbolType).Balance Method (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.
Assembly: System.Web.Razor (in System.Web.Razor.dll)
function Balance( mode : BalancingModes, left : TSymbolType, right : TSymbolType, start : SourceLocation ) : boolean
Parameters
- mode
- Type: System.Web.Razor.Parser.BalancingModes
The balancing mode.
- left
- Type: TSymbolType
The left parse.
- right
- Type: TSymbolType
The right parse.
- start
- Type: System.Web.Razor.Text.SourceLocation
The start of the mode.
Show: