get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'parse':
      return UriParseBuilder();
    case 'encodeFull':
      return Uri.encodeFull;
    case 'encodeComponent':
      return Uri.encodeComponent;
    case 'decodeComponent':
      return Uri.decodeComponent;
    case 'decodeFull':
      return Uri.decodeFull;
  }
}