Index

Package: Literals

Description

package Scripting.Expressions.Literals is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Literal

type Literal is new Expression with private;

Ancestors:

Primitive operations:

Construct
Evaluate (overriding Scripting.Expressions.Evaluate)
Objects.Construct (Inherited)
Objects.Delete (Inherited)
Objects.To_String (Inherited)
Scripting.Expressions.Construct (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.