Aetheria/Assets/Scripts/ServerShared/NIH/RethinkDb.Driver.Linq/SelectionProjector.cs
hyperion51 e96146b7bb Out with MagicOnion, in with LiteNetLib
Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
2020-03-24 14:36:22 +00:00

26 lines
No EOL
778 B
C#

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Parsing;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Linq
{
public class SelectionProjector : ThrowingExpressionVisitor
{
private readonly Stack<ReqlExpr> _stack = new Stack<ReqlExpr>();
public ReqlExpr Current => _stack.Count > 0 ? _stack.Peek() : null;
protected override Exception CreateUnhandledItemException<T>( T unhandledItem, string visitMethod )
{
throw new NotImplementedException();
}
protected override Expression VisitQuerySourceReference( QuerySourceReferenceExpression expression )
{
return expression;
}
}
}