C# Class SILUBS.ScriptureChecks.PunctuationToken

Record information about one component of a punctuation sequence.
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Properties

Property Type Description
IsFinal bool
IsInitial bool
IsParaBreak bool
TokenType PunctuationTokenType
Tts SILUBS.SharedScrUtils.TextTokenSubstring

Public Methods

Method 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 method

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.
return System

PunctuationToken() public method

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. ///
return System

ToString() public method

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

Property Details

IsFinal public_oe property

public bool IsFinal
return bool

IsInitial public_oe property

public bool IsInitial
return bool

IsParaBreak public_oe property

public bool IsParaBreak
return bool

TokenType public_oe property

public PunctuationTokenType TokenType
return PunctuationTokenType

Tts public_oe property

public TextTokenSubstring,SILUBS.SharedScrUtils Tts
return SILUBS.SharedScrUtils.TextTokenSubstring