| NumberToken Constructor (String, NumericSeparator, NumericSeparator, Char, Char, Sign, String, String, String) |
Initializes a new instance with the specified values.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic NumberToken(
string text,
NumericSeparator groupSeparator,
NumericSeparator decimalSeparator,
char alternateGroupSeparator,
char alternateDecimalSeparator,
Sign sign,
string rawSign,
string rawDecimalDigits,
string rawFractionalDigits
)
Public Sub New (
text As String,
groupSeparator As NumericSeparator,
decimalSeparator As NumericSeparator,
alternateGroupSeparator As Char,
alternateDecimalSeparator As Char,
sign As Sign,
rawSign As String,
rawDecimalDigits As String,
rawFractionalDigits As String
)
public:
NumberToken(
String^ text,
NumericSeparator groupSeparator,
NumericSeparator decimalSeparator,
wchar_t alternateGroupSeparator,
wchar_t alternateDecimalSeparator,
Sign sign,
String^ rawSign,
String^ rawDecimalDigits,
String^ rawFractionalDigits
)
new :
text : string *
groupSeparator : NumericSeparator *
decimalSeparator : NumericSeparator *
alternateGroupSeparator : char *
alternateDecimalSeparator : char *
sign : Sign *
rawSign : string *
rawDecimalDigits : string *
rawFractionalDigits : string -> NumberTokenParameters
- text
- Type: SystemString
The text of the token, as it appeared in the input - groupSeparator
- Type: Sdl.LanguagePlatform.Core.TokenizationNumericSeparator
The type of group separator used - decimalSeparator
- Type: Sdl.LanguagePlatform.Core.TokenizationNumericSeparator
The type of decimal separator used - alternateGroupSeparator
- Type: SystemChar
The character of an alternative group separator, if used - alternateDecimalSeparator
- Type: SystemChar
The character of an alternative decimal separator, if used - sign
- Type: Sdl.LanguagePlatform.Core.TokenizationSign
The type of sign used - rawSign
- Type: SystemString
The "raw text" of the sign - rawDecimalDigits
- Type: SystemString
The "raw decimal digits", without separators, between 0-9 - rawFractionalDigits
- Type: SystemString
The "raw fractional digits", without separators, between 0-9
See Also
Comments