C# Class SILUBS.ScriptureChecks.PunctuationToken

Record information about one component of a punctuation sequence.
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
IsFinal bool
IsInitial bool
IsParaBreak bool
TokenType PunctuationTokenType
Tts SILUBS.SharedScrUtils.TextTokenSubstring

Méthodes publiques

Méthode Description
PunctuationToken ( PunctuationTokenType tokenType, TextTokenSubstring tts, bool isInitial, bool isFinal ) : System

Initializes a new instance of the PunctuationToken class.

PunctuationToken ( bool isInitial, bool isFinal, bool isParaBreak ) : System

Initializes a new instance of the PunctuationToken class for a whitespace character.

ToString ( ) : string

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

Method Details

PunctuationToken() public méthode

Initializes a new instance of the PunctuationToken class.
public PunctuationToken ( PunctuationTokenType tokenType, TextTokenSubstring tts, bool isInitial, bool isFinal ) : System
tokenType PunctuationTokenType Type of the token.
tts SILUBS.SharedScrUtils.TextTokenSubstring The TextTokenSubstring.
isInitial bool if set to true is opening quotation mark.
isFinal bool if set to true is closing quotation mark.
Résultat System

PunctuationToken() public méthode

Initializes a new instance of the PunctuationToken class for a whitespace character.
public PunctuationToken ( bool isInitial, bool isFinal, bool isParaBreak ) : System
isInitial bool if set to true is opening quotation mark.
isFinal bool if set to true is closing quotation mark.
isParaBreak bool if set to true the whitespace represents a newline. ///
Résultat System

ToString() public méthode

Returns a T:System.String that represents the current PunctuationToken.
public ToString ( ) : string
Résultat string

Property Details

IsFinal public_oe property

public bool IsFinal
Résultat bool

IsInitial public_oe property

public bool IsInitial
Résultat bool

IsParaBreak public_oe property

public bool IsParaBreak
Résultat bool

TokenType public_oe property

public PunctuationTokenType TokenType
Résultat PunctuationTokenType

Tts public_oe property

public TextTokenSubstring,SILUBS.SharedScrUtils Tts
Résultat SILUBS.SharedScrUtils.TextTokenSubstring