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
Tuple<TSymbol,TSymbol>
A tuple of code language symbol.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for