Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsXFormsXPathNode Class Reference

The node type of the XPath Expression parse tree that nsXFormsXPathParser creates. More...

#include <nsXFormsXPathNode.h>

Collaboration diagram for nsXFormsXPathNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsXFormsXPathNode (nsXFormsXPathNode *aParent, PRBool aContinue=PR_FALSE)
 ~nsXFormsXPathNode ()

Public Attributes

nsXFormsXPathNodemChild
 Children of the node.
nsXFormsXPathNodemSibling
 Siblings to the node.
PRInt32 mStartIndex
 The starting position of the node in the expression string.
PRInt32 mEndIndex
 The ending position of the node in the expression string.
PRBool mCon
PRBool mPredicate
 Is node a predicate?
PRBool mLiteral
 Is node a literal?
PRBool mIsIndex
 Is node an index() call?

Detailed Description

The node type of the XPath Expression parse tree that nsXFormsXPathParser creates.

Note:
Should be reimplemented and moved to Transformiix

Definition at line 50 of file nsXFormsXPathNode.h.


Constructor & Destructor Documentation

Definition at line 43 of file nsXFormsXPathNode.cpp.

  : mChild(nsnull), mEndIndex(-100), mCon(aContinue), mIsIndex(PR_FALSE)
{
  MOZ_COUNT_CTOR(nsXFormsXPathNode);
  
  if (aParent) {
    mSibling = aParent->mChild;
    aParent->mChild = this;
  } else {
    mSibling = nsnull;
  }
}

Definition at line 56 of file nsXFormsXPathNode.cpp.


Member Data Documentation

Children of the node.

Definition at line 53 of file nsXFormsXPathNode.h.

Todo:
Write dox.

(XXX)

Definition at line 65 of file nsXFormsXPathNode.h.

The ending position of the node in the expression string.

Definition at line 62 of file nsXFormsXPathNode.h.

Is node an index() call?

Definition at line 74 of file nsXFormsXPathNode.h.

Is node a literal?

Definition at line 71 of file nsXFormsXPathNode.h.

Is node a predicate?

Definition at line 68 of file nsXFormsXPathNode.h.

Siblings to the node.

Definition at line 56 of file nsXFormsXPathNode.h.

The starting position of the node in the expression string.

Definition at line 59 of file nsXFormsXPathNode.h.


The documentation for this class was generated from the following files: