Productions

Top  Previous  Next

Examples > Unit_dependence > Productions

 

In the programming language Pascal the presupposed Pascal-Units are listed behind the keyword uses. E.g.:

 

 

uses

  Windows, Classes, SysUtils, Dialogs;

 

 

unit ::=

SKIP?

(

uses_clause

SKIP

)?

 

uses_clause ::=

"uses

unit_name ("," unit_name )*

";" 

 

unit_name ::=

IDENT

 

 

The code is skipped with SKIP until the keyword uses is found and then the list of the included Units is parsed and until the end the text is skipped again.

 

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German