SuperConstructorInvocationImpl constructor
SuperConstructorInvocationImpl({
- required Token superKeyword,
- required Token? period,
- required SimpleIdentifierImpl? constructorName,
- required ArgumentListImpl argumentList,
Initialize a newly created super invocation to invoke the inherited
constructor with the given name with the given arguments. The period and
constructorName
can be null
if the constructor being invoked is the
unnamed constructor.
Implementation
SuperConstructorInvocationImpl({
required this.superKeyword,
required this.period,
required SimpleIdentifierImpl? constructorName,
required ArgumentListImpl argumentList,
}) : _constructorName = constructorName,
_argumentList = argumentList {
_becomeParentOf(_constructorName);
_becomeParentOf(_argumentList);
}