mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
JSSpecCompiler: Remove ParseError
This commit is contained in:
parent
9a2337f7ad
commit
94f5086b93
7 changed files with 1 additions and 107 deletions
|
@ -6,18 +6,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/StringView.h>
|
||||
#include <LibXML/Forward.h>
|
||||
|
||||
#include "Parser/ParseError.h"
|
||||
|
||||
namespace JSSpecCompiler {
|
||||
|
||||
struct IgnoreComments {
|
||||
ParseErrorOr<void> operator()(XML::Node::Comment const&) { return {}; }
|
||||
};
|
||||
|
||||
inline constexpr IgnoreComments ignore_comments {};
|
||||
|
||||
bool contains_empty_text(XML::Node const* node);
|
||||
|
||||
Optional<StringView> get_attribute_by_name(XML::Node const* node, StringView attribute_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue