Difference between revisions of "Core.Terms.IntegerLiteral"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''IntegerLiteral'''}}[[Category:Core]] | {{DISPLAYTITLE:OTX '''IntegerLiteral'''}}[[Category:Core]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | IntegerLiteral | Literal of type Integer | [[Term]] | [[ | + | {{ClassificationActivity | IntegerLiteral | Literal of type Integer | [[Term]] | [[Core|OTX Core library]] | [[Literal related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 9: | Line 9: | ||
== 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 == |
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