Fix reST syntax in doc/astspec.txt
This commit is contained in:
parent
273d6ffc16
commit
137c836616
1 changed files with 3 additions and 3 deletions
|
|
@ -1059,7 +1059,7 @@ Nim type Corresponding AST
|
||||||
``iterator`` ``nnkIteratorTy``
|
``iterator`` ``nnkIteratorTy``
|
||||||
``object`` ``nnkObjectTy``
|
``object`` ``nnkObjectTy``
|
||||||
|
|
||||||
Take special care when declaring types as ``proc``s. The behavior is similar
|
Take special care when declaring types as ``proc``. The behavior is similar
|
||||||
to ``Procedure declaration``, below, but does not treat ``nnkGenericParams``.
|
to ``Procedure declaration``, below, but does not treat ``nnkGenericParams``.
|
||||||
Generic parameters are treated in the type, not the ``proc`` itself.
|
Generic parameters are treated in the type, not the ``proc`` itself.
|
||||||
|
|
||||||
|
|
@ -1084,8 +1084,8 @@ AST:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
The same syntax applies to ``iterator``s (with ``nnkIteratorTy``), but
|
The same syntax applies to ``iterator`` (with ``nnkIteratorTy``), but
|
||||||
*does not* apply to ``converter``s or ``template``s.
|
*does not* apply to ``converter`` or ``template``.
|
||||||
|
|
||||||
Mixin statement
|
Mixin statement
|
||||||
---------------
|
---------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue