Difference between revisions of "Core.Terms.StringLiteral"
Jump to navigation
Jump to search
m (Hb moved page StringLiteral to Core.Terms.StringLiteral: #3153) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''StringLiteral'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
{{ClassificationActivity | StringLiteral | Literal of type String | [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }} | {{ClassificationActivity | StringLiteral | Literal of type String | [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }} | ||
Line 14: | Line 14: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Literal | [[String]] | [[Literal]] | - | [1] | Identification of a string in C # notation.}} | + | {{TableRowPropertie1| Literal | [[Core.DataTypes.SimpleDataType.String|String]] | [[Literal]] | - | [1] | Identification of a string in C # notation.}} |
|} | |} | ||
Line 21: | Line 21: | ||
String str1 = "Text"; | String str1 = "Text"; | ||
String str2 = "Text with CrLf \n"; | String str2 = "Text with CrLf \n"; | ||
+ | String str3 = "Support escape sequences \a , \b, \f, \n, \r, \t, \v \x \\ \" in the OTF"; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
− | [[BooleanLiteral]] <br/> | + | [[Core.Terms.BooleanLiteral|BooleanLiteral]] <br/> |
− | [[IntegerLiteral]] <br/> | + | [[Core.Terms.IntegerLiteral|IntegerLiteral]] <br/> |
− | [[FloatLiteral]] <br/> | + | [[Core.Terms.FloatLiteral|FloatLiteral]] <br/> |
− | [[ByteFieldLiteral]] <br/> | + | [[Core.Terms.ByteFieldLiteral|ByteFieldLiteral]] <br/> |
− | [[ListLiteral]] <br/> | + | [[Core.Terms.ListLiteral|ListLiteral]] <br/> |
− | [[MapLiteral]] <br/> | + | [[Core.Terms.MapLiteral|MapLiteral]] <br/> |
− | [[UserExceptionLiteral]] | + | [[Core.Terms.UserExceptionLiteral|UserExceptionLiteral]] |
Latest revision as of 04:20, 7 May 2019
Classification
Name | StringLiteral |
Short Description | Literal of type String |
Class | Term |
Extension | OTX Core library |
Group | Literal related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Value = literal
Description
A StringLiteral is the code representation of a value of type String.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Literal | String | Literal | - | [1] | Identification of a string in C # notation. |
OTL Examples
String str1 = "Text";
String str2 = "Text with CrLf \n";
String str3 = "Support escape sequences \a , \b, \f, \n, \r, \t, \v \x \\ \" in the OTF";
See also
BooleanLiteral
IntegerLiteral
FloatLiteral
ByteFieldLiteral
ListLiteral
MapLiteral
UserExceptionLiteral