Ejemplo n.º 1
0
 public EvaluatorVisitor(ObservableCollection <QLBaseException> exceptions, ReferenceTables referenceTables)
 {
     _terminalWrapperFactory = new TerminalWrapperFactory();
     Exceptions      = exceptions;
     ReferenceTables = referenceTables;
 }
Ejemplo n.º 2
0
 public EvaluatorVisitor(ObservableCollection<QLBaseException> exceptions, ReferenceTables referenceTables)
 {
     _terminalWrapperFactory = new TerminalWrapperFactory();
     Exceptions = exceptions;
     ReferenceTables = referenceTables;
 }
Ejemplo 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);
        }