Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.51 KB

definition-block.adoc

File metadata and controls

68 lines (47 loc) · 1.51 KB

Definition Block Documentation

Usage
.definitionTitle
[def]
--
The content of the definition
--
Attributes
  • definitionTitle (required): An anchor is derived from the definition title and embedded at the beginning of the rendered output.

  • delimiter: Lines containing only two hyphens -- delimit the block. This is required if the block contains empty lines or nested formatting.

Example
.Definition Site Structural Typing
[def]
--
If a type T is declared as structural at its definition, _T.defStructural_ is true.

1. The structurally defined type cannot be used on the right hand side of the `instanceof`
2. A type X is a subtype of a structurally defined type T...

Furthermore...
--
Result

Definition Site Structural Typing

If a type T is declared as structural at its definition, T.defStructural is true.

Constraints (Definition Site Structural Typing):

  1. The structurally defined type cannot be used on the right-hand side of the instanceof…​

  2. A type X is a subtype of a structurally defined type T…​

Furthermore…​ ---