LotusScript.doc (part 2)

The code has been expanded so it now also supports:

  • Constants (incl. datatype)
  • Class properties
  • Methods and functions with global scope
  • Views
  • Forms

I have inserted some sample documentation generated below. As previously mentioned the next thing I am going to approach is formatting the output for easy navigation and cross-reference.

ScriptLibrary @ FooBar

Constant @ PRIVATE_STRING_CONST

[CONST] (PRIVATE) PRIVATE_STRING_CONST As String = “abc123”

Constant @ PUBLIC_INTEGER_CONST

[CONST] (PUBLIC) PUBLIC_INTEGER_CONST As Integer = 12345
This is a comment for my PUBLIC_INTEGER_CONST constant.

Constant @ FRIENDLY_STRING_CONST

[CONST] (PRIVATE) FRIENDLY_STRING_CONST As String = “should be ignored”

Class @ Bar

Parent class.

Class @ Foo (inherits from Bar)

This is a class comment and it may span multiple lines. The class the inherits from the Bar class.

Property @ Lekkim

[PROPERTY] (PRIVATE SETTER) Lekkim As String
Sets the lekkim.

Property @ Lekkim

[PROPERTY] (PRIVATE GETTER) Lekkim As String
Returns the lekkim.

Method @ New

[SUB] (PUBLIC) New
Constructor.

Function @ GlobalFunction

[FUNCTION] (PUBLIC) GlobalFunction(arg1 As String, arg2 As Long) returns NotesDocument
I have also documented my global function.

Method @ GlobalMethod

[SUB] (PUBLIC) GlobalMethod

Form @ _1. TestTest Document

Method @ Querysend

[SUB] (FRIENDLY) Querysend(Source As Notesuidocument, Continue As Variant)
Form Querysend event.

Method @ Queryclose

[SUB] (FRIENDLY) Queryclose(Source As Notesuidocument, Continue As Variant)
Queryclose event.

View @ Test documents|notesTestDocuments

Method @ Querypaste

[SUB] (FRIENDLY) Querypaste(Source As Notesuiview, Continue As Variant)
Querypaste view event.