UnityScript.Parser.UnityScriptParser.type_reference_list C# (CSharp) Method

type_reference_list() public method

public type_reference_list ( TypeReferenceCollection typeReferences ) : void
typeReferences TypeReferenceCollection
return void
        public void type_reference_list(TypeReferenceCollection typeReferences)
        {
            try
            {
                TypeReference reference = this.type_reference();
                if (base.inputState.guessing == 0)
                {
                    typeReferences.Add(reference);
                }
                while (this.LA(1) == 0x43)
                {
                    this.match(0x43);
                    reference = this.type_reference();
                    if (base.inputState.guessing == 0)
                    {
                        typeReferences.Add(reference);
                    }
                }
            }
            catch (RecognitionException exception)
            {
                if (base.inputState.guessing != 0)
                {
                    throw;
                }
                this.reportError(exception);
                this.recover(exception, tokenSet_36_);
            }
        }
UnityScriptParser