LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>.SplitSymbol 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.
Splits the content of the code language symbol at the specified index.
public virtual(TSymbol,TSymbol) SplitSymbol(TSymbol symbol, int splitAt, TSymbolType leftType);
abstract member SplitSymbol : 'Symbol * int * 'SymbolType -> 'Symbol * 'Symbol (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)
override this.SplitSymbol : 'Symbol * int * 'SymbolType -> 'Symbol * 'Symbol (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType> and 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)
Public Overridable Function SplitSymbol (symbol As TSymbol, splitAt As Integer, leftType As TSymbolType) As Tuple(Of TSymbol, TSymbol)
Parameters
- symbol
- TSymbol
The symbol whose content is to be splitted.
- splitAt
- Int32
The index where the split occurs.
- leftType
- TSymbolType
The enumeration type for the language symbol.
Returns
A tuple of code language symbol.