get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'scheme':
return uri.scheme;
case 'host':
return uri.host;
case 'port':
return uri.port;
case 'path':
return uri.path;
case 'query':
return uri.query;
case 'fragment':
return uri.fragment;
case 'pathSegments':
return uri.pathSegments;
}
}