mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:47:35 +00:00
JSSpecCompiler: Push ParseError out of SpecFunction
This commit is contained in:
parent
32f601f9a4
commit
d339ad01bb
5 changed files with 76 additions and 70 deletions
|
@ -20,7 +20,8 @@ inline constexpr IgnoreComments ignore_comments {};
|
|||
|
||||
bool contains_empty_text(XML::Node const* node);
|
||||
|
||||
ParseErrorOr<StringView> get_attribute_by_name(XML::Node const* node, StringView attribute_name);
|
||||
ParseErrorOr<StringView> deprecated_get_attribute_by_name(XML::Node const* node, StringView attribute_name);
|
||||
Optional<StringView> get_attribute_by_name(XML::Node const* node, StringView attribute_name);
|
||||
|
||||
ParseErrorOr<StringView> get_text_contents(XML::Node const* node);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue