Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Functions | Variables
nsElementTable.h File Reference
#include "nsHTMLTokens.h"
#include "nsDTDUtils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsHTMLElement
 gess 01/04/99 More...

Typedefs

typedef PRBool(* ContainFunc )(eHTMLTags aTag, nsDTDContext &aContext)

Functions

PRBool TestBits (int aBitset, int aTest)
 We're asking the question: is aTest a member of bitset.

Variables

static const int kNone = 0x0
 MODULE NOTES: gess 4/1/98.
static const int kHTMLContent = 0x0001
static const int kHeadContent = 0x0002
static const int kHeadMisc = 0x0004
static const int kSpecial = 0x0008
static const int kFormControl = 0x0010
static const int kPreformatted = 0x0020
static const int kPreExclusion = 0x0040
static const int kFontStyle = 0x0080
static const int kPhrase = 0x0100
static const int kHeading = 0x0200
static const int kBlockMisc = 0x0400
static const int kBlock = 0x0800
static const int kList = 0x1000
static const int kPCDATA = 0x2000
static const int kSelf = 0x4000
static const int kExtensions = 0x8000
static const int kTable = 0x10000
static const int kDLChild = 0x20000
static const int kCDATA = 0x40000
static const int kInlineEntity = (kPCDATA|kFontStyle|kPhrase|kSpecial|kFormControl|kExtensions)
static const int kBlockEntity = (kHeading|kList|kPreformatted|kBlock)
static const int kFlowEntity = (kBlockEntity|kInlineEntity)
static const int kAllTags = 0xffffff
const nsHTMLElement gHTMLElements []
static const int kPreferBody = 0x0001
static const int kOmitEndTag = 0x0002
static const int kLegalOpen = 0x0004
static const int kNoPropagate = 0x0008
static const int kBadContentWatch = 0x0010
static const int kNoStyleLeaksIn = 0x0020
static const int kNoStyleLeaksOut = 0x0040
static const int kMustCloseSelf = 0x0080
static const int kSaveMisplaced = 0x0100
static const int kNonContainer = 0x0200
static const int kHandleStrayTag = 0x0400
static const int kRequiresBody = 0x0800
static const int kVerifyHierarchy = 0x1000

Typedef Documentation

Definition at line 99 of file nsElementTable.h.


Function Documentation

PRBool TestBits ( int  aBitset,
int  aTest 
) [inline]

We're asking the question: is aTest a member of bitset.

gess 01/04/99

Parameters:
@returnTRUE or FALSE

Definition at line 109 of file nsElementTable.h.

                                              {
  if(aTest) {
    PRInt32 result=(aBitset & aTest);
    return PRBool(result==aTest);
  }
  return PR_FALSE;
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 185 of file nsElementTable.cpp.

const int kAllTags = 0xffffff [static]

Definition at line 87 of file nsElementTable.h.

const int kBadContentWatch = 0x0010 [static]

Definition at line 264 of file nsElementTable.h.

const int kBlock = 0x0800 [static]

Definition at line 74 of file nsElementTable.h.

Definition at line 85 of file nsElementTable.h.

const int kBlockMisc = 0x0400 [static]

Definition at line 73 of file nsElementTable.h.

const int kCDATA = 0x40000 [static]

Definition at line 82 of file nsElementTable.h.

const int kDLChild = 0x20000 [static]

Definition at line 81 of file nsElementTable.h.

const int kExtensions = 0x8000 [static]

Definition at line 79 of file nsElementTable.h.

Definition at line 86 of file nsElementTable.h.

const int kFontStyle = 0x0080 [static]

Definition at line 70 of file nsElementTable.h.

const int kFormControl = 0x0010 [static]

Definition at line 67 of file nsElementTable.h.

const int kHandleStrayTag = 0x0400 [static]

Definition at line 272 of file nsElementTable.h.

const int kHeadContent = 0x0002 [static]

Definition at line 61 of file nsElementTable.h.

const int kHeading = 0x0200 [static]

Definition at line 72 of file nsElementTable.h.

const int kHeadMisc = 0x0004 [static]

Definition at line 62 of file nsElementTable.h.

const int kHTMLContent = 0x0001 [static]

Definition at line 60 of file nsElementTable.h.

Definition at line 84 of file nsElementTable.h.

const int kLegalOpen = 0x0004 [static]

Definition at line 262 of file nsElementTable.h.

const int kList = 0x1000 [static]

Definition at line 76 of file nsElementTable.h.

const int kMustCloseSelf = 0x0080 [static]

Definition at line 269 of file nsElementTable.h.

const int kNonContainer = 0x0200 [static]

Definition at line 271 of file nsElementTable.h.

const int kNone = 0x0 [static]

MODULE NOTES: gess 4/1/98.

Definition at line 58 of file nsElementTable.h.

const int kNoPropagate = 0x0008 [static]

Definition at line 263 of file nsElementTable.h.

const int kNoStyleLeaksIn = 0x0020 [static]

Definition at line 266 of file nsElementTable.h.

const int kNoStyleLeaksOut = 0x0040 [static]

Definition at line 267 of file nsElementTable.h.

const int kOmitEndTag = 0x0002 [static]

Definition at line 261 of file nsElementTable.h.

const int kPCDATA = 0x2000 [static]

Definition at line 77 of file nsElementTable.h.

const int kPhrase = 0x0100 [static]

Definition at line 71 of file nsElementTable.h.

const int kPreExclusion = 0x0040 [static]

Definition at line 69 of file nsElementTable.h.

const int kPreferBody = 0x0001 [static]

Definition at line 260 of file nsElementTable.h.

const int kPreformatted = 0x0020 [static]

Definition at line 68 of file nsElementTable.h.

const int kRequiresBody = 0x0800 [static]

Definition at line 273 of file nsElementTable.h.

const int kSaveMisplaced = 0x0100 [static]

Definition at line 270 of file nsElementTable.h.

const int kSelf = 0x4000 [static]

Definition at line 78 of file nsElementTable.h.

const int kSpecial = 0x0008 [static]

Definition at line 64 of file nsElementTable.h.

const int kTable = 0x10000 [static]

Definition at line 80 of file nsElementTable.h.

const int kVerifyHierarchy = 0x1000 [static]

Definition at line 274 of file nsElementTable.h.