public TreeBuilderContext(ExpressionTree tree) : base(tree) { ExpressionTree = tree; TreeNodeStack = new Stack <ITreeNode>(); TreeNodeStack.Push(Tree); TensorQueue = new Queue <Tensor>(); TensorIndicesQueue = new Queue <Index>(); }
public TensorExpressionVisitor(Expression expr, Tensor lhs, bool visit = true) { LinqExpression = expr; Tree = new ExpressionTree(lhs); Context = new TreeBuilderContext(Tree); if (visit) { Visit(); } }
public ExpressionTreeException(ExpressionTree tree, ITreeNode node, string message) : this(tree, message) { ExpressionTree = tree; TreeNode = node; }
public ExpressionTreeException(ExpressionTree tree, string message) : base(message) { ExpressionTree = tree; }