Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsXBLUncompiledMethod Struct Reference

#include <nsXBLProtoImplMethod.h>

Collaboration diagram for nsXBLUncompiledMethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsXBLUncompiledMethod ()
 ~nsXBLUncompiledMethod ()
PRInt32 GetParameterCount ()
void AppendBodyText (const nsAString &aText)
void AddParameter (const nsAString &aText)
void SetLineNumber (PRUint32 aLineNumber)

Public Attributes

nsXBLParametermParameters
nsXBLParametermLastParameter
nsXBLTextWithLineNumber mBodyText

Detailed Description

Definition at line 70 of file nsXBLProtoImplMethod.h.


Constructor & Destructor Documentation

Definition at line 83 of file nsXBLProtoImplMethod.h.


Member Function Documentation

void nsXBLUncompiledMethod::AddParameter ( const nsAString &  aText) [inline]

Definition at line 99 of file nsXBLProtoImplMethod.h.

                                            {
    nsXBLParameter* param = new nsXBLParameter(aText);
    if (!param)
      return;
    if (!mParameters)
      mParameters = param;
    else
      mLastParameter->mNext = param;
    mLastParameter = param;
  }
void nsXBLUncompiledMethod::AppendBodyText ( const nsAString &  aText) [inline]

Definition at line 95 of file nsXBLProtoImplMethod.h.

                                              {
    mBodyText.AppendText(aText);
  }

Here is the call graph for this function:

Definition at line 88 of file nsXBLProtoImplMethod.h.

                              {
    PRInt32 result = 0;
    for (nsXBLParameter* curr = mParameters; curr; curr=curr->mNext)
      result++;
    return result;
  }

Definition at line 110 of file nsXBLProtoImplMethod.h.

                                           {
    mBodyText.SetLineNumber(aLineNumber);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 73 of file nsXBLProtoImplMethod.h.

Definition at line 72 of file nsXBLProtoImplMethod.h.

Definition at line 71 of file nsXBLProtoImplMethod.h.


The documentation for this struct was generated from the following file: