<?php
/*---------------------------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

namespace Microsoft\PhpParser\Node;

use Microsoft\PhpParser\Token;

trait FunctionReturnType {
    /** @var Token */
    public $colonToken;
    // TODO: This may be the wrong choice if ?type can ever be mixed with other types in union types
    /** @var Token|null */
    public $questionToken;
    /** @var DelimitedList\QualifiedNameList|null */
    public $returnTypeList;
}
