Class ALinearCBooleanExpression

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ALinearCBooleanExpression = class(ALinearCExpression)

Description

This class represents a boolean expression in LinearC, which is an expression that consists of a single keyword belonging to either RULE_TRUTH or RULE_FALSEHOOD. The expression evaluates the keyword and sets its own value accordingly.

Hierarchy

Overview

Methods

Public function init: boolean; override;
Public function parse: int64; override;

Description

Methods

Public function init: boolean; override;

Initializer

Public function parse: int64; override;

Parse the expression.

This method checks to see whether the current token belongs to either RULE_TRUTH or RULE_FALSEHOOD, and sets the value of the expression accordingly.

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


Generated by PasDoc 0.13.0 on 2015-01-10 17:13:18