Difference between revisions of "Core.Terms.IntegerLiteral"

From emotive
Jump to navigation Jump to search
 
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 12: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