Lolly 1.4.28
Loading...
Searching...
No Matches
Functions
blank_url.cpp File Reference
#include "url.hpp"
Include dependency graph for blank_url.cpp:

Go to the source code of this file.

Functions

bool is_root_blank (url u)
 
bool is_rooted_blank (url u)
 

Function Documentation

◆ is_root_blank()

bool is_root_blank ( url u)

Definition at line 22 of file blank_url.cpp.

22 {
23 return is_root (u, "blank");
24}
The list class represents a linked list.
Definition list.hpp:48
bool is_root(url u, string s)
Definition url.cpp:668

◆ is_rooted_blank()

bool is_rooted_blank ( url u)

Definition at line 27 of file blank_url.cpp.

27 {
28 return is_root_blank (u) || (is_concat (u) && is_rooted_blank (u[1])) ||
29 (is_or (u) && is_rooted_blank (u[1]) && is_rooted_blank (u[2]));
30}
bool is_rooted_blank(url u)
Definition blank_url.cpp:27
bool is_root_blank(url u)
Definition blank_url.cpp:22
bool is_or(url u)
Definition url.hpp:178
bool is_concat(url u)
Definition url.hpp:174