OTX StringLiteral

From emotive
Jump to: navigation, search

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