doc syntax cleanup

This commit is contained in:
2022-03-11 12:43:31 +01:00
parent d7abe1b471
commit cc2bfe215b

View File

@@ -45,15 +45,21 @@ functions
function functions function functions
function function
ws "<function name=" tag ">" ws "<arguments>" arguments "</arguments>" ws "<body>" instructions "</body>" ws "</function>" ws ws "<function name=" tag ">" arguments body "</function>" ws
arguments arguments
ws "<arguments>" arguments "</arguments>" ws
_arguments
"" ""
argument arguments argument _arguments
argument argument
ws "<argument name=" tag "/>" ws ws "<argument name=" tag "/>" ws
body
ws "<body>" instructions "</body>" ws
instructions instructions
ws "" ws ws "" ws
instruction instructions instruction instructions
@@ -137,15 +143,24 @@ lower
"<lower>" instruction instruction "</lower>" "<lower>" instruction instruction "</lower>"
call call
"<call function=" tag ">" ws "<arguments>" instructions "</arguments>" ws "</call>" "<call function=" tag ">" call_arguments "</call>"
"<call>" instruction "<arguments>" instructions "</arguments>" ws "</call>" "<call>" instruction call_arguments ws "</call>"
call_arguments
ws "<arguments>" instructions "</arguments>" ws
return return
"<return>" instruction "</return>" "<return>" instruction "</return>"
if if
"<if>" ws instruction ws "<then>" instructions "</then>" ws "</if>" "<if>" instruction then "</if>"
"<if>" ws instruction ws "<then>" instructions "</then>" ws "<else>" instructions "</else>" ws "</if>" "<if>" instruction then else "</if>"
then
ws "<then>" instructions "</then>" ws
else
ws "<else>" instructions "</else>" ws
each each
"<each variable=" tag ">" instruction do "</each>" "<each variable=" tag ">" instruction do "</each>"