Difference between revisions of "Core.Terms.StringLiteral"

From emotive
Jump to navigation Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | StringLiteral | Literal of type String | Term | OTX Core library | Literal related terms | -...")
 
Line 3: Line 3:
 
{{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]] | - | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
Value = literal
 
Value = literal
Line 17: Line 17:
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
* "Text"
+
String str1 = "Text";
* "Text with CrLf \n"
+
String str2 = "Text with CrLf \n";
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 08:50, 3 February 2015

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";

See also

BooleanLiteral
IntegerLiteral
FloatLiteral
ByteFieldLiteral
ListLiteral
MapLiteral
UserExceptionLiteral