Class ALinearCBooleanExpression
Unit
linearc
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
|
function init: boolean; override; |
|
function parse: int64; override; |
Description
Methods
|
function init: boolean; override; |
Initializer
|
|
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-06-25 11:07:51
|