Skip to Main Content
The “Oslo” Modeling Language
book

The “Oslo” Modeling Language

by David Langworthy, Brad Lovering, Don Box
October 2008
Beginner to intermediate content levelBeginner to intermediate
208 pages
3h 1m
English
Addison-Wesley Professional
Content preview from The “Oslo” Modeling Language

Chapter 6. Module

A module is a scope that contains declarations of types (Chapter 3), extents (Section 4.2), and computed values (Section 4.1). Modules override lexical scoping to import symbols that have been exported from another module.

6.1 Compilation Unit

Several modules may be contained within a CompilationUnit, typically a text file.

CompilationUnit:

ModuleDeclarationList

ModuleDeclarationList:

ModuleDeclaration

ModuleDeclarationList ModuleDeclaration

6.2 Module Declaration

A ModuleDeclaration is a named container/scope for type declarations, field declarations, and computed value declarations.

ModuleDeclaration:  module QualifiedIdentifer ModuleBody  ;optQualifiedIdentifier:  Identifier  QualifiedIdentifier . IdentifierModuleBody:  { ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Technical Java™: Developing Scientific and Engineering Applications

Technical Java™: Developing Scientific and Engineering Applications

Grant Palmer
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 9780321606518Purchase book