Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsParserUtils.cpp File Reference
#include "nsParserUtils.h"
#include "nsIParser.h"
#include "jsapi.h"
#include "nsReadableUtils.h"
#include "nsCRT.h"
#include "nsContentUtils.h"
#include "nsIParserService.h"

Go to the source code of this file.

Defines

#define SKIP_WHITESPACE(iter, end_iter)
#define SKIP_ATTR_NAME(iter, end_iter)

Define Documentation

#define SKIP_ATTR_NAME (   iter,
  end_iter 
)
Value:
while ((iter) != (end_iter) && !nsCRT::IsAsciiSpace(*(iter)) && \
         *(iter) != '=') {                                        \
    ++(iter);                                                     \
  }                                                               \
  if ((iter) == (end_iter))                                       \
    break

Definition at line 53 of file nsParserUtils.cpp.

#define SKIP_WHITESPACE (   iter,
  end_iter 
)
Value:
while ((iter) != (end_iter) && nsCRT::IsAsciiSpace(*(iter))) { \
    ++(iter);                                                    \
  }                                                              \
  if ((iter) == (end_iter))                                      \
    break

Definition at line 46 of file nsParserUtils.cpp.