Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "LDT/Developer Area/Lua Comment Model"

< LDT
(New page: This is the model of a comment block. commentblock .string shortdescription .string description .list(maintag) maintag .(list(tag) tagname) maintag=file | recordtype | functi...)
 
Line 4: Line 4:
 
   .string shortdescription
 
   .string shortdescription
 
   .string description
 
   .string description
  .list(maintag) maintag
 
 
   .(list(tag) tagname)
 
   .(list(tag) tagname)
  
   maintag=file | recordtype | function
+
   tag= module | type | function | return | field | param
  
   file
+
   module
   .string kind='file'
+
   .string tag='file'
 +
  .string name
  
   recordtype
+
   type
   .string kind='recordtype'
+
   .string tag='type'
 
   .string name
 
   .string name
  
 
   function
 
   function
   .string kind='function'
+
   .string tag='function'
  .boolean global
+
   .string parent = typename or #global
   .string typescope = typename
+
 
   .string name
 
   .string name
 
  tag=return | field | param
 
  
 
   return
 
   return
 +
  .string tag='return'
 
   .list(typeref) types
 
   .list(typeref) types
 
   .string description
 
   .string description
  
 
   field
 
   field
 +
  .string tag='field'
 
   .string name
 
   .string name
 +
  .string parent = typename or #global
 
   .string description
 
   .string description
 
   .typeref type
 
   .typeref type
  
 
   param
 
   param
 +
  .string tag='param'
 
   .string name
 
   .string name
 
   .string description
 
   .string description

Revision as of 12:35, 2 February 2012

This is the model of a comment block.

 commentblock
 .string shortdescription
 .string description
 .(list(tag) tagname)
 tag= module | type | function | return | field | param
 module
 .string tag='file'
 .string name
 type
 .string tag='type'
 .string name
 function
 .string tag='function'
 .string parent = typename or #global
 .string name
 return
 .string tag='return'
 .list(typeref) types
 .string description
 field
 .string tag='field'
 .string name
 .string parent = typename or #global
 .string description
 .typeref type
 param
 .string tag='param'
 .string name
 .string description
 .typeref type
 typeref
 .module
 .type

Back to the top