isSkippableJetLeafPackage method
Checks if the file matches any of the excluded JetLeaf internal paths.
Parameters:
uri
: The URI to check
Returns true
if the file is:
- In JetLeaf's internal implementation directories
- In JetLeaf's test directories
- In JetLeaf's tooling directories
Example:
final shouldSkip = ReflectUtils.isNonLoadableJetLeafFile(
Uri.parse('package:jetleaf_lang/src/lang/parser.dart'),
); // returns true
Implementation
@protected
bool isSkippableJetLeafPackage(Uri identifier) => RuntimeUtils.isSkippableJetLeafPackage(identifier);