Difference between revisions of "Core.Terms.IntegerLiteral"
Jump to navigation
Jump to search
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''IntegerLiteral'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
{{ClassificationActivity | IntegerLiteral | Literal of type Integer | [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }} | {{ClassificationActivity | IntegerLiteral | Literal of type Integer | [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }} | ||
Line 5: | Line 5: | ||
== OTL 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 |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | A '''IntegerLiteral''' is the code representation of a value of type Integer. | + | A '''IntegerLiteral''' is the code representation of a value of type Integer. The integer literal is specified by the [https://docs.oracle.com/javase/specs/jls/se6/html/lexical.html#3.10.1 §3.10.1 of The Java™ Language Specification]. |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Literal | [[Integer]] | [[Literal]] | - | [1] | Designation of a decimal number in c# notation.}} | + | {{TableRowPropertie1| Literal | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Literal]] | - | [1] | Designation of a decimal number in c# notation.}} |
|} | |} | ||
Line 26: | Line 26: | ||
== See also == | == See also == | ||
− | [[BooleanLiteral]] <br/> | + | [[Core.Terms.BooleanLiteral|BooleanLiteral]] <br/> |
− | [[FloatLiteral]] <br/> | + | [[Core.Terms.FloatLiteral|FloatLiteral]] <br/> |
− | [[StringLiteral]] <br/> | + | [[Core.Terms.StringLiteral|StringLiteral]] <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 10:06, 2 May 2019
Classification
Name | IntegerLiteral |
Short Description | Literal of type Integer |
Class | Term |
Extension | OTX Core library |
Group | Literal related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Value = literal
Description
A IntegerLiteral is the code representation of a value of type Integer. The integer literal is specified by the §3.10.1 of The Java™ Language Specification.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Literal | Integer | Literal | - | [1] | Designation of a decimal number in c# notation. |
OTL Examples
Integer Integer1 = 0;
Integer Integer2 = 20;
Integer Integer3 = -1234;
Integer Integer4 = 7898797120;
See also
BooleanLiteral
FloatLiteral
StringLiteral
ByteFieldLiteral
ListLiteral
MapLiteral
UserExceptionLiteral