Eli   Documents

General Information

 o Eli: Translator Construction Made Easy
 o Global Index
 o Frequently Asked Questions
 o Typical Eli Usage Errors

Tutorials

 o Quick Reference Card
 o Guide For new Eli Users
 o Release Notes of Eli
 o Tutorial on Name Analysis
 o Tutorial on Scope Graphs
 o Tutorial on Type Analysis
 o Typical Eli Usage Errors

Reference Manuals

 o User Interface
 o Eli products and parameters
 o LIDO Reference Manual
 o Typical Eli Usage Errors

Libraries

 o Eli library routines
 o Specification Module Library

Translation Tasks

 o Lexical analysis specification
 o Syntactic Analysis Manual
 o Computation in Trees

Tools

 o LIGA Control Language
 o Debugging Information for LIDO
 o Graphical ORder TOol

 o FunnelWeb User's Manual

 o Pattern-based Text Generator
 o Property Definition Language
 o Operator Identification Language
 o Tree Grammar Specification Language
 o Command Line Processing
 o COLA Options Reference Manual

 o Generating Unparsing Code

 o Monitoring a Processor's Execution

Administration

 o System Administration Guide

Mail Home

Association of properties to definitions

Previous Chapter Next Chapter Table of Contents


Determine First Object Occurrence

This module determines whether a NAMEFirstOcc occurrence of an object is the first one in left-to-right depth-first tree order. The result is obtained by the attribute NAMEFirstOcc.IsNAMEFirstOcc that has the value 1 if it is the first occurrence, 0 otherwise. The computations of the module use the property named NAMEFirstOcc. (The same task can be solved using the more general module OccCnt, See Count Occurrences of Objects.)

The role NAMERangeFirstOcc is automatically associated to the grammar root (see Common Aspects of Property Modules).

The module is instantiated by

   $/Prop/FirstOcc.gnrc+instance=NAME +referto=KEY :inst


Previous Chapter Next Chapter Table of Contents