Class ALinearCIdentifierExpression

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ALinearCIdentifierExpression = class(ALinearCExpression)

Description

This class represents an identifier expression in LinearC, which is an expression that refers to the name of an option. The value of the option is assigned to the value of the expression.

Hierarchy

Overview

Methods

Public function parse: int64; override;

Description

Methods

Public function parse: int64; override;

Parse the expression.

This method uses the literal text of the current token to look up the named option in Self.Options. The value of the option is stored as the value of the expression.

If the token text specifies an option that is not known, then it is treated instead as an unquoted string literal and the literal text of the token is stored as the value of the expression.

On return from this routine, the current token in the parent expression will refer to the token immediately following the identifier.


Generated by PasDoc 0.13.0 on 2015-06-25 11:07:51