/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* * Returns true if the given character is whitespace.
*/ staticbool isWhitespace(const char16_t& aChar) { return (aChar <= ' ' &&
(aChar == ' ' || aChar == '\r' || aChar == '\n' || aChar == '\t'));
}
/** * Returns true if the given string has only whitespace characters
*/ staticbool isWhitespace(const nsAString& aText);
/** * Normalizes the value of a XML processingInstruction
**/ staticvoid normalizePIValue(nsAString& attValue);
/** * Returns true if the given string is a valid XML QName
*/ staticbool isValidQName(const nsAString& aQName, const char16_t** aColon);
/** * Returns true if the given character represents an Alpha letter
*/ staticbool isLetter(char16_t aChar) { return !!MOZ_XMLIsLetter(reinterpret_cast<constchar*>(&aChar));
}
/** * Returns true if the given character is an allowable NCName character
*/ staticbool isNCNameChar(char16_t aChar) { return !!MOZ_XMLIsNCNameChar(reinterpret_cast<constchar*>(&aChar));
}
/* * Walks up the document tree and returns true if the closest xml:space * attribute is "preserve"
*/ staticbool getXMLSpacePreserve(const txXPathNode& aNode);
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.22 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.