Class SegmentEditor
Inheritance
SegmentEditor
Namespace: SdlSdl.LanguagePlatformCore
Assembly: Sdl.LanguagePlatform.Core.dll
public class SegmentEditor
Constructors
Declaration
Methods
Declaration
public static bool AppendTokens(Segment segment, List<Token> tokens)
Parameters
Returns
Declaration
public static bool ChangeTokens(Segment segment, List<Token> tokens, short startTokenIndex, short length)
Parameters
Returns
Declaration
public static void CleanSegment(Segment segment)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
Declaration
public static Segment Clone(Segment other)
Parameters
Type |
Name |
Description |
Segment |
other |
|
Returns
Declaration
public static bool DeleteTokens(Segment segment, short startTokenIndex, short length)
Parameters
Returns
Exceptions
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex)
Parameters
Returns
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex, List<Token> tokensInserted)
Parameters
Returns