Index

Package: Literals

Description

private package Expressions.Literals is

Classes

Literal

type Literal is new Expression with private;

Ancestors:

Primitive operations:

Construct
Delete (overriding Objects.Delete)
Evaluate (overriding Expressions.Evaluate)
Expressions.Construct (Inherited)
Objects.Construct (Inherited)
Objects.To_String (Inherited)
A Literal is a literal value (boolean, number, or string) in an expression.

Types

A_Literal

type A_Literal is access all Literal'Class;

Subprograms & Entries

Create_Literal

function Create_Literal
( token: not null A_Token ) return A_Literal;
Creates a new Literal from a Token representing a literal value. If the token is not a value type, null will be returned.