MCPcopy Create free account
hub / github.com/SpartanJ/eepp / checkIsIncludePattern

Function checkIsIncludePattern

include/eepp/ui/doc/syntaxdefinition.hpp:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 inline bool checkIsIncludePattern() const {
131 return patterns.size() == 2 && patterns[0] == "include" && !patterns[1].empty() &&
132 ( patterns[1][0] == '#' || patterns[1][0] == '$' ||
133 String::startsWith( patterns[1], "source." ) );
134 }
135
136 inline bool checkIsRangedMatch() const {
137 return !checkIsIncludePattern() && patterns.size() >= 2;

Callers 4

checkIsRangedMatchFunction · 0.85
checkIsRootSelfIncludeFunction · 0.85
checkIsSourceIncludeFunction · 0.85
checkIsRepositoryIncludeFunction · 0.85

Calls 2

sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected