C# Класс SILUBS.SharedScrUtils.TextTokenSubstring

Class that represents a sub-string of one or more consecutive source tokens
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddToken ( ITextToken token ) : void

Adds a token.

TextTokenSubstring ( ITextToken token, int offset, int length ) : System

Initializes a new instance of the TextTokenSubstring class with a single source token.

TextTokenSubstring ( ITextToken token, int offset, int length, string msg ) : System

Initializes a new instance of the TextTokenSubstring class with a single source token.

TextTokenSubstring ( TextTokenSubstring tts, string msg ) : System

Initializes a new instance of the TextTokenSubstring class based on another TextTokenSubstring, but having a different Message.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

operator ( ) : TextTokenSubstring

Implements the operator ++.

Описание методов

AddToken() публичный Метод

Adds a token.
public AddToken ( ITextToken token ) : void
token ITextToken
Результат void

TextTokenSubstring() публичный Метод

Initializes a new instance of the TextTokenSubstring class with a single source token.
public TextTokenSubstring ( ITextToken token, int offset, int length ) : System
token ITextToken The token.
offset int The offset.
length int The length.
Результат System

TextTokenSubstring() публичный Метод

Initializes a new instance of the TextTokenSubstring class with a single source token.
public TextTokenSubstring ( ITextToken token, int offset, int length, string msg ) : System
token ITextToken The token.
offset int The offset.
length int The length.
msg string The error message.
Результат System

TextTokenSubstring() публичный Метод

Initializes a new instance of the TextTokenSubstring class based on another TextTokenSubstring, but having a different Message.
public TextTokenSubstring ( TextTokenSubstring tts, string msg ) : System
tts TextTokenSubstring The instance to copy from.
msg string The message.
Результат System

ToString() публичный Метод

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Implements the operator ++.
public static operator ( ) : TextTokenSubstring
Результат TextTokenSubstring