Die Grammatik von Oberon V

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]

*Produktionsregeln P (in EBNF, Fortsetzung):
⟨ Type ⟩---> ⟨ QualIdent ⟩ | ⟨ ArrayType ⟩ | ⟨ RecordType ⟩ |
⟨ PointerType ⟩ | ⟨ ProcedureType ⟩
⟨ ArrayType ⟩---> ``ARRAY'' ⟨ Length ⟩ { ``,'' ⟨ Length ⟩ }
``OF'' ⟨ Type ⟩
⟨ Length ⟩---> ⟨ ConstExpression ⟩
⟨ RecordType ⟩---> ``RECORD'' [ ``('' ⟨ BaseType ⟩ ``)'' ]
⟨ FieldListSequence ⟩ ``END''
⟨ BaseType ⟩---> ⟨ QualIdent ⟩
⟨ FieldListSequence ⟩---> ⟨ FieldList ⟩ { ``;'' ⟨ FieldList ⟩ }
⟨ FieldList ⟩---> [ ⟨ IdentList ⟩ ``:'' ⟨ Type ⟩ ]
⟨ PointerType ⟩---> ``POINTER'' ``TO'' ⟨ Type ⟩
⟨ ProcedureType ⟩---> ``PROCEDURE'' [ ⟨ FormalParameters ⟩ ]

 

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]
Copyright © 2004, 2005 Andreas Borchert, in HTML konvertiert am 18.02.2005