예제 #1
0
 protected virtual void VisitVariable(ExpressionVisitorContext context, VariableIdentifier variable)
 {
     if (variable.IsGlobal)
     {
         context.Write("@@" + variable.Name);
     }
     else
     {
         context.Write("@" + variable.Name);
     }
 }
예제 #2
0
        protected virtual IExpression VisitVariable(VariableIdentifier variable)
        {
            if (variable.IsGlobal)
            {
                _output.Append("@@" + variable.Name);
            }
            else
            {
                _output.Append("@" + variable.Name);
            }

            return(variable);
        }