Difference between revisions of "Core.Terms.ListLiteral"

From emotive
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''ListLiteral'''}}[[Category:Core]]
 
{{DISPLAYTITLE:OTX '''ListLiteral'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | ListLiteral | Literal of type List| [[Term]] | [[OtxReference#Core|OTX Core library]] | [[Literal related terms]] | - | - }}
+
{{ClassificationActivity | ListLiteral | Literal of type List| [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }}
  
 
== Pseudo-Code Syntax ==
 
== Pseudo-Code Syntax ==

Latest revision as of 10:44, 16 February 2016

Classification

Name ListLiteral
Short Description Literal of type List
Class Term
Extension OTX Core library
Group Literal related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

Value = {LiteralTerm, LiteralTerm, ...}

Description

A ListLiteral is the code representation of a value of type List.

Properties

Name Data Type Class Default Cardinality Description
Literal List Literal - [1] Identification of a list in C# notation

Examples

List<Integer> List1 = {0};
List<Integer> List2 = {1, 2, -3};
List<Boolean> List3 = {true , true , false};
List<String> List4 = {"text1" , "text2" , "text3"};

See also

BooleanLiteral
IntegerLiteral
FloatLiteral
StringLiteral
ByteFieldLiteral
MapLiteral
UserExceptionLiteral