doc-src/IsarRef/Thy/document/Outer_Syntax.tex
changeset 35841 94f901e4969a
parent 30242 aea5d7fa7ef5
child 40290 47f572aff50a
equal deleted inserted replaced
35840:01d7c4ba9050 35841:94f901e4969a
   318   \railnonterm{typespec} on the left-hand side.  This models basic
   318   \railnonterm{typespec} on the left-hand side.  This models basic
   319   type constructor application at the outer syntax level.  Note that
   319   type constructor application at the outer syntax level.  Note that
   320   only plain postfix notation is available here, but no infixes.
   320   only plain postfix notation is available here, but no infixes.
   321 
   321 
   322   \indexouternonterm{typespec}
   322   \indexouternonterm{typespec}
       
   323   \indexouternonterm{typespecsorts}
   323   \begin{rail}
   324   \begin{rail}
   324     typespec: (() | typefree | '(' ( typefree + ',' ) ')') name
   325     typespec: (() | typefree | '(' ( typefree + ',' ) ')') name
       
   326     ;
       
   327 
       
   328     typespecsorts: (() | (typefree ('::' sort)?) | '(' ( (typefree ('::' sort)?) + ',' ) ')') name
   325     ;
   329     ;
   326   \end{rail}%
   330   \end{rail}%
   327 \end{isamarkuptext}%
   331 \end{isamarkuptext}%
   328 \isamarkuptrue%
   332 \isamarkuptrue%
   329 %
   333 %