Home Page Icon
Home Page
Table of Contents for
II. MGrammar Language Specification
Close
II. MGrammar Language Specification
by Don Box, Brad Lovering, David Langworthy
The “Oslo” Modeling Language
Copyright
Preface
Acknowledgments
About the Authors
I. “Oslo” Modeling Language Specification
1. Introduction to “M”
1.1. Values
1.1.1. Collections
1.1.2. Entities
1.2. Types
1.2.1. Collection Types
1.2.2. Nullable Types
1.2.3. Entity Types
1.2.4. Declaring Fields
1.2.5. Declaring Computed Values
1.2.6. Constraints on Entity Types
1.3. Queries
1.3.1. Filtering
1.3.2. Selection
1.4. Modules
2. Lexical Structure
2.1. Programs
2.2. Grammars
2.2.1. Grammar Notation
2.2.2. Lexical Grammar
2.2.3. Syntactic Grammar
2.3. Lexical Analysis
2.3.1. Line Terminators
2.3.2. Comments
2.3.3. Whitespace
2.4. Tokens
2.4.1. Identifiers
2.4.2. Keywords
2.4.3. Literals
2.4.3.1. Decimal Literals
2.4.3.2. Integer Literals
2.4.3.3. Scientific Literals
2.4.3.4. Date Literals
2.4.3.5. DateTime Literals
2.4.3.6. Time Literals
2.4.3.7. Character Literals
2.4.3.8. Text Literals
2.4.3.9. Logical Literals
2.4.3.10. Binary and Byte Literals
2.4.3.11. Null Literal
2.4.3.12. Guid Literals
2.4.4. Operators and Punctuators
2.5. Pre-processing Directives
2.5.1. Conditional Compilation Symbols
2.5.2. Pre-processing Expressions
2.5.3. Declaration Directives
2.5.4. Conditional Compilation Directives
3. Types
3.1. Type Declaration
3.2. This
3.3. Subtyping
3.4. Operators
3.5. Intrinsic Types
3.5.1. Any
3.5.2. General
3.5.3. Number
3.5.3.1. Operators
3.5.3.2. AutoNumber
3.5.4. Text
3.5.4.1. Members
3.5.4.2. Declaration
3.5.5. Character
3.5.6. Logical
3.5.7. Binary and Byte
3.5.8. Guid
3.5.9. Date
3.5.10. DateTime
3.5.11. Time
3.6. Entity
3.6.1. Declaration
3.6.2. Identity
3.6.3. Operators
3.6.4. Members
3.6.5. Indexer
3.6.6. Ascription
3.7. Collections
3.7.1. Declaration
3.7.2. Operators
3.7.3. Members
3.7.4. Indexers
3.7.4.1. Selectors
3.7.4.2. Projectors
3.7.5. Uniqueness
3.8. Null
4. Computed and Stored Values
4.1. Computed Value Declaration
4.1.1. Overloading
4.2. Fields
5. Expressions
5.1. Operators
5.1.1. Operator Precedence and Associativity
5.2. Member Access
5.2.1. Symbol Lookup
5.3. Initializers
5.3.1. Collection Initializer
5.3.2. Enumeration Initializer
5.3.3. Reference Initializer
5.3.4. Non-Local Initialization
5.4. Invocation Expression
5.5. Primary Expressions
5.5.1. Simple Names
5.5.2. Parenthesized Expressions
5.6. Context Variable
5.7. Unary Operators
5.8. Multiplicity
5.9. Arithmetic Operators
5.10. Shift Operators
5.11. Relational and Type-Testing Operators
5.12. Equality Operators
5.13. Logical Operators
5.14. Conditional Operators
5.14.1. Coalescing Operator
5.14.2. Conditional Operator
5.15. Query Expressions
5.16. Compact Query Expressions
5.16.1. Where Operator
5.16.2. Select Operator
5.17. Binary and Collection Operators
5.18. Expressions
6. Module
6.1. Compilation Unit
6.2. Module Declaration
6.3. Inter-Module Dependencies
6.4. Compilation Episode
6.5. Storage
II. MGrammar Language Specification
7. Introduction to MGrammar Language
7.1. Language Basics
7.2. Character Processing
7.3. Output
7.4. Modularity
8. Lexical Structure
8.1. Programs
8.2. Grammars
8.2.1. Grammar Notation
8.2.2. Lexical Grammar
8.2.3. Syntactic Grammar
8.3. Lexical Analysis
8.3.1. Line Terminators
8.3.2. Comments
8.3.3. Whitespace
8.4. Tokens
8.4.1. Identifiers
8.4.2. Keywords
8.4.3. Literals
8.4.3.1. Decimal Literals
8.4.3.2. Integer Literals
8.4.3.3. Logical Literals
8.4.3.4. Text Literals
8.4.3.5. Null Literal
8.4.4. Operators and Punctuators
8.5. Pre-processing Directives
8.5.1. Conditional Compilation Symbols
8.5.2. Pre-processing Expressions
8.5.3. Declaration Directives
8.5.4. Conditional Compilation Directives
9. Text Pattern Expressions
9.1. Primary Expressions
9.1.1. Character Class
9.1.2. References
9.1.3. Repetition Operators
9.1.4. Inline Rules
9.1.5. Any
9.1.6. Error
9.2. Term Operators
10. Productions
10.1. Pattern Declaration
10.2. Term Declaration
10.3. Constructors
10.3.1. Constructor Operators
10.3.2. Default Constructor
10.4. Precedence
10.4.1. Production Precedence
10.4.2. Term Precedence
11. Rules
11.1. Token Rules
11.1.1. Final Modifier
11.1.2. Identifier Modifier
11.2. Syntax Rules
11.3. Interleave Rules
11.4. Inline Rules
11.5. Rule Parameters
12. Languages
12.1. Main Rule
12.2. Cross-Language Rule References
13. Modules
13.1. Compilation Unit
13.2. Module Declaration
13.3. Inter-Module Dependencies
14. Attributes
14.1. Case Sensitive
Glossary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
6. Module
Next
Next Chapter
7. Introduction to MGrammar Language
Part II. MGrammar Language Specification
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset