mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
node: add getRootnode method (NOT IMPLEMENTED)
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -145,6 +145,11 @@ pub const Node = struct {
|
|||||||
pub fn _contains(self: *parser.Node, other: *parser.Node) bool {
|
pub fn _contains(self: *parser.Node, other: *parser.Node) bool {
|
||||||
return parser.nodeContains(self, other);
|
return parser.nodeContains(self, other);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn _getRootNode(self: *parser.Node) void {
|
||||||
|
_ = self;
|
||||||
|
@panic("Not implemented node.getRootNode()");
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const Types = generate.Tuple(.{
|
pub const Types = generate.Tuple(.{
|
||||||
|
|||||||
Reference in New Issue
Block a user