예제 #1
0
        /// <inheritdoc/>
        public void Initialize(ITypeChecker checker, TypeFlags flags, ISymbol symbol)
        {
            // Checker argument is used only by services.ts, but we're leaving it here for compatibility reasons.
            Flags = flags;

            // HINT: to simplify the code and design, this initialize method sets Id as well.
            Initialize(checker.GetNextTypeId(), flags, symbol);
        }