public void MemberAccessWithNoIdentifierAndDollarThisAsLexerReturnsRangeVariableToken()
        {
            var        tokenizer = this.GetIdentifierTokenizerWithRealFunctionParser("$this");
            QueryToken result    = tokenizer.ParseMemberAccess(null);

            result.ShouldBeRangeVariableToken(ExpressionConstants.This);
        }
Пример #2
0
        public void MemberAccessWithNoIdentifierReturnsRangeVariableToken()
        {
            this.parameters.Add("variable");
            var        tokenizer = this.GetIdentifierTokenizerWithRealFunctionParser("variable");
            QueryToken result    = tokenizer.ParseMemberAccess(null);

            result.ShouldBeRangeVariableToken("variable");
        }