Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #641 from muratcorlu/patch-1
Browse files Browse the repository at this point in the history
Pipes in code blocks brake table structure #fixed
  • Loading branch information
sichvoge committed Jul 6, 2017
2 parents a1cef90 + 31952bb commit 963cf8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versions/raml-10/raml-10.md
Expand Up @@ -1402,9 +1402,9 @@ Type expressions are composed of names of built-in or custom types and certain s
| Expression Components | Description | Examples
|:--------------------------|:------------|:---------|
| `type name` | A type name, the basic building block of a type expression, used alone creates the simplest expression. | `number:` a built-in type<br><br>`Person:` a custom type
| `(type expression)` | Parentheses disambiguate the expression to which an operator applies. | `Person | Animal[]` <br><br> `( Person | Animal )[]`
| `(type expression)` | Parentheses disambiguate the expression to which an operator applies. | `Person \| Animal[]` <br><br> `( Person \| Animal )[]`
| `(type expression)[]` | The array, a unary, postfix operator placed after another type expression, enclosed in parentheses as needed, indicates the resulting type is an array of instances of that type expression. | `string[]:` an array of strings<br><br>`Person[][]:` an array of arrays of Person instances
| `(type expression 1) | (type expression 2)` | An infix union operator indicates the resulting type might be either of type expression 1 or of type expression 2. Multiple union operators can be combined between pairs of type expressions. | `string | number:` either a string or a number <br><br> `X | Y | Z`: either an X or a Y or a Z <br><br>`(Manager | Admin)[]:` an array whose members consist of Manager or Admin instances<br><br>`Manager[] | Admin[]:` an array of Manager instances or an array of Admin instances.
| `(type expression 1) \| (type expression 2)` | An infix union operator indicates the resulting type might be either of type expression 1 or of type expression 2. Multiple union operators can be combined between pairs of type expressions. | `string \| number:` either a string or a number <br><br> `X \| Y \| Z`: either an X or a Y or a Z <br><br>`(Manager \| Admin)[]:` an array whose members consist of Manager or Admin instances<br><br>`Manager[] \| Admin[]:` an array of Manager instances or an array of Admin instances.

### Multiple Inheritance

Expand Down

0 comments on commit 963cf8e

Please sign in to comment.