visitTypeVariantParameterNode method
Implementation
@override
Future<Element> visitTypeVariantParameterNode(TypeVariantParameterNode node) async {
try {
final type = _resolveTypeIdentifier(node.typeIdentifier);
return ParameterElement(name: node.name.lexeme)..type = type;
} on _SymbolNotResolved {
final parameter = ParameterElement(name: node.name.lexeme);
_unresolvedParameters[parameter] = node;
return parameter;
}
}