接口参考

html_parser.h · C++ API

按同一接口文件归组浏览,展开条目查看声明、使用说明和版本边界。

阅读相关开发指南 →

这里保留接口声明及来源。逐项运行验证范围以条目记录为准;源文件中的内部实现候选不代表免费 SDK 的交付承诺。

include/kui/html/html_parser.h
HTMLParser::~HTMLParser
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
~HTMLParser();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:27

反馈此接口问题 →
HTMLParser::begin
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void begin(Document* doc);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:40

反馈此接口问题 →
HTMLParser::collectedStyles
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
const std::vector<String>& collectedStyles() const;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:60

反馈此接口问题 →
HTMLParser::end
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void end();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:43

反馈此接口问题 →
HTMLParser::errors
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
const std::vector<ParseError>& errors() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:88

反馈此接口问题 →
HTMLParser::extractStyles
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
bool extractStyles() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:48

反馈此接口问题 →
HTMLParser::feedChunk
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void feedChunk(const String& chunk);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:42

反馈此接口问题 →
HTMLParser::hasErrors
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
bool hasErrors() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:89

反馈此接口问题 →
HTMLParser::HTMLParser
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
HTMLParser();

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:26

反馈此接口问题 →
HTMLParser::maxDOMDepth
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
u32 maxDOMDepth() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:76

反馈此接口问题 →
HTMLParser::maxInputSize
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
size_t maxInputSize() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:73

反馈此接口问题 →
HTMLParser::maxNodeCount
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
u32 maxNodeCount() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:79

反馈此接口问题 →
HTMLParser::parseDocument
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
bool parseDocument(Document* doc, const String& html);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:29

反馈此接口问题 →
HTMLParser::parseFragment
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
RefPtr<Node> parseFragment(Document* doc, Element* contextElement, const String& html);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:34

反馈此接口问题 →
HTMLParser::setDeferStyleRegistration
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setDeferStyleRegistration(bool defer)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:53

反馈此接口问题 →
HTMLParser::setExtractStyles
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setExtractStyles(bool extract)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:45

反馈此接口问题 →
HTMLParser::setMaxDOMDepth
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setMaxDOMDepth(u32 depth)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:75

反馈此接口问题 →
HTMLParser::setMaxInputSize
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setMaxInputSize(size_t bytes)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:71

反馈此接口问题 →
HTMLParser::setMaxNodeCount
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setMaxNodeCount(u32 count)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:78

反馈此接口问题 →
HTMLParser::setScriptCallback
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setScriptCallback(ScriptCallback cb)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:69

反馈此接口问题 →
HTMLParser::setStripComments
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
void setStripComments(bool strip)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:50

反馈此接口问题 →
HTMLParser::void
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
using ScriptCallback = std::function<void(Element* scriptEl, const String& code)>;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:64

反馈此接口问题 →
HTMLSerializer::serialize
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
static String serialize(const Node* node, const Options& opts);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:124

反馈此接口问题 →
HTMLSerializer::serializeChildren
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
static String serializeChildren(const Node* node);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:111

反馈此接口问题 →
HTMLSerializer::serializeNode
待核对3.61.7C++

html 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

html_parser.h
static String serializeNode(const Node* node);

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/html/html_parser.h:114

反馈此接口问题 →
浏览同类接口 →