UnityScript.Parser.UnityScriptParser.typeof_with_typeref C# (CSharp) Méthode

typeof_with_typeref() protected méthode

protected typeof_with_typeref ( ) : Expression
Résultat Expression
        protected Expression typeof_with_typeref()
        {
            Expression expression = null;
            IToken token = null;
            try
            {
                token = this.LT(1);
                this.match(0x2c);
                this.match(0x3f);
                TypeReference reference = this.type_reference();
                this.match(0x40);
                if (base.inputState.guessing == 0)
                {
                    expression = new TypeofExpression(ToLexicalInfo(token), reference);
                }
            }
            catch (RecognitionException exception)
            {
                if (base.inputState.guessing != 0)
                {
                    throw;
                }
                this.reportError(exception);
                this.recover(exception, tokenSet_20_);
                return expression;
            }
            return expression;
        }
UnityScriptParser