protected virtual TResult VisitSubModelExpressionNode(SubModelExpressionNode subModuleExpression) { this.VisitExpressionNode(subModuleExpression.ModelExpression); this.VisitExpressionNode(subModuleExpression.SubModelExpression); return(null); }
protected override IClientModel VisitSubModelExpressionNode(SubModelExpressionNode subModuleExpression) { _modelStack.Push(this.VisitExpressionNode(subModuleExpression.ModelExpression)); var result = this.VisitExpressionNode(subModuleExpression.SubModelExpression); _modelStack.Pop(); return(result); }
private Expression EvaluateSubModel(SubModelExpressionNode node) { var modelExpression = ParseExpression(node.ModelExpression); PushScope(modelExpression); var subModel = ParseExpression(node.SubModelExpression); PopScope(); return(subModel); }
protected override JSchema VisitSubModelExpressionNode(SubModelExpressionNode subModuleExpression) { var schema = this.VisitExpressionNode(subModuleExpression.ModelExpression); _schemas.Push(schema); schema = VisitExpressionNode(subModuleExpression.SubModelExpression); _schemas.Pop(); return(schema); }
private void EvaluateSubModelExpression(SubModelExpressionNode node) { EvaluateExpressionAgainstModelOnStack(node.ModelExpression); EvaluateExpressionAgainstModelOnStack(node.SubModelExpression); }