private void Resolve(Grammar.ASTNodeExpr bodyExpr) { var curSegment = funct.CreateSegment(bodyExpr.GetSpan().JustBefore()); ResolveExpr(bodyExpr, ref curSegment, new Core.DataAccessDiscard()); if (funct.segments[curSegment].outFlow == null) { funct.SetSegmentFlow(curSegment, new Core.SegmentFlowEnd { span = funct.segments[curSegment].GetSpan().JustAfter() }); } }