Esempio n. 1
0
 public EvaluatorVisitor(ObservableCollection <QLBaseException> exceptions, ReferenceTables referenceTables)
 {
     _terminalWrapperFactory = new TerminalWrapperFactory();
     Exceptions      = exceptions;
     ReferenceTables = referenceTables;
 }
Esempio n. 2
0
 public EvaluatorVisitor(ObservableCollection<QLBaseException> exceptions, ReferenceTables referenceTables)
 {
     _terminalWrapperFactory = new TerminalWrapperFactory();
     Exceptions = exceptions;
     ReferenceTables = referenceTables;
 }
Esempio n. 3
0
        private ITerminalWrapper GetValue(Expression key)
        {
            if (key.Child is IStaticReturnType)
            {
                TerminalWrapperFactory terminalWrapperFactory = new TerminalWrapperFactory();
                return terminalWrapperFactory.CreateWrapper(key.Child as IStaticReturnType);
            }

            return GetValue(key.Child);
        }