CLASS: Comment
Class Comment

This class represents a comment for a Script (a design element) or ScriptElement (function, a sub, a property, a const or a class).

The class handles parsing the comment text for the following @-parameters:


Property Summary
Public StringComment (Get)
     Returns the entire comment except
Public StringFirstSentence (Get)
     Returns the first sentence (until the first period or

Methods Summary
PublicAddCommentPart(comment As String)
     Add a part of the comment as we encouter it while parsing LotusScript source.
PublicNew()
     Constructor.

Functions Summary
Public VectorGetParameters(param_name As String)
     Returns a vector of Parameter-objects with the supplied name.

Method Detail

AddCommentPart

Public Sub AddCommentPart(comment As String)
Add a part of the comment as we encouter it while parsing LotusScript source.
Parameter(s):
comment - The comment part.

New

Public New()
Constructor.

Function Detail

GetParameters

Public Function GetParameters(param_name As String) As Vector
Returns a vector of Parameter-objects with the supplied name.
Parameter(s):
param_name - The name of the @-parameter to get Parameter objects for.
Returns:
Vector of Parameter objects or Nothing if no @-parameters with the supplied name.