22.08.2013 Aufrufe

Grundlagen der Informatik I “Programmierung”

Grundlagen der Informatik I “Programmierung”

Grundlagen der Informatik I “Programmierung”

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Manifest string ::= "Simple string"<br />

Simple string ::= Siehe Abschnitt 4.4<br />

Parents ::= Parent [ ; Parents ]<br />

Parent ::= Class type [ Feature adaption ]<br />

Feature adaption ::= [ rename [ Rename pairs ] ] Umbenennung geerbter features<br />

[ export [ New exports ] ] Export geerbter features<br />

[ undefine [ Features ] ] Aufschieben einer geerbten Implementierung<br />

[ redefine [ Features ] ] Redefinition einer geerbten Implementierung<br />

[ select [ Features ] ] Auswahl eines doppelt geerbten features<br />

end<br />

Rename pairs ::= Feature name as Feature name [ ; Rename pairs ]<br />

New exports ::= [ Clients ] Feature set [ ; New exports ]<br />

Feature set ::= [ Features ] | all<br />

Features ::= Feature name [ ; Features ]<br />

Feature name ::= Identifier | Prefix | Infix<br />

Prefix ::= prefix "Prefix Operator"<br />

Infix ::= infix "Infix Operator"<br />

Prefix Operator ::= Siehe Abschnitt 4.4<br />

Infix Operator ::= Siehe Abschnitt 4.4<br />

Clients ::= { [ Classes ] }<br />

Classes ::= Class name [ , Classes ]<br />

Creation clauses ::= Creation clause [ creation Creation clauses ]<br />

Creation clause ::= [ Clients ] [ Comment ] [ Features ]<br />

Comment ::= -- [ Simple string Comment break Comment ]<br />

Comment break ::= New line [ Blank or tabs ] --<br />

Feature clauses ::= Feature clause [ feature Feature clauses ]<br />

Feature clause ::= [ Clients ] [ Comment ] [ Feature declarations ]<br />

Feature declarations ::= Feature declaration [ ; Feature declaration list ]<br />

Feature declaration ::= Feature names<br />

[ ( [ Entity declarations ] )]<br />

[ : Type ]<br />

[ is Feature value ] Vereinbarung <strong>der</strong> neuen Namen<br />

Feature names ::= [ frozen ] Feature name [ , Feature names ]<br />

Feature value ::= Routine Definition von Prozedur o<strong>der</strong> Funktion<br />

| Manifest constant Konstantendefinition<br />

| unique<br />

Entity declarations ::= Identifiers : Type [ ; Entity declarations ]<br />

Identifiers ::= Identifier [ , Identifier list ]<br />

Type ::= Class Type<br />

| expanded Class type<br />

| Identifier formaler generischer Parameter<br />

| like Anchor Assoziation<br />

| BIT Constant<br />

| INTEGER | REAL | DOUBLE | CHARACTER | BOOLEAN<br />

Class type ::= Class name [ [ [ Types ] ] ]<br />

Types ::= Type [ , Types ]<br />

Anchor ::= Identifier | Current

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!