Class ALinearCStatementBlock

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ALinearCStatementBlock = class(ALinearCStatement)

Description

This class represents a statement block that is parsed by the LinearC parser. In all actuality, there will probably only ever be one of these constructed, since the only block-level construct in a command line language is the entirety of the command line itself.

Hierarchy

Overview

Methods

Public function parse: int64; override;

Description

Methods

Public function parse: int64; override;

Parse the statements in the statement block.

Based on the value of CurrentToken, this method will construct one of the following instances of ALinearCStatement to parse a portion of the command line:

This method is not typically called directly; instead, it is called from one of the parseUntil() methods, such as ALinearCStatementBlock.parseUntilToken. This is because the class represents a collection of statements which is made up of one or more individual statements.

Returns

The number of errors encountered while parsing.


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