Skip to content

Commit 214e7cd

Browse files
author
Quoc Truong
committed
Fix merge conflicts
1 parent 5c3b509 commit 214e7cd

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

Engine/Helper.cs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -624,11 +624,7 @@ public int Compare(Tuple<int, int> t1, Tuple<int, int> t2)
624624
/// </summary>
625625
public class FindPipelineOutput : ICustomAstVisitor
626626
{
627-
<<<<<<< HEAD
628627
List<Tuple<string, StatementAst>> outputTypes;
629-
=======
630-
List<string> outputTypes;
631-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
632628

633629
IEnumerable<TypeDefinitionAst> classes;
634630

@@ -669,11 +665,7 @@ static FindPipelineOutput()
669665
/// <param name="ast"></param>
670666
public FindPipelineOutput(FunctionDefinitionAst ast, IEnumerable<TypeDefinitionAst> classes)
671667
{
672-
<<<<<<< HEAD
673668
outputTypes = new List<Tuple<string, StatementAst>>();
674-
=======
675-
outputTypes = new List<string>();
676-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
677669
Helper.Instance.InitializeVariableAnalysis(ast);
678670
this.classes = classes;
679671
myFunction = ast;
@@ -685,24 +677,12 @@ public FindPipelineOutput(FunctionDefinitionAst ast, IEnumerable<TypeDefinitionA
685677
}
686678

687679
/// <summary>
688-
<<<<<<< HEAD
689680
/// Get list of outputTypes from functiondefinitionast funcast
690681
/// </summary>
691682
/// <returns></returns>
692683
public static List<Tuple<string, StatementAst>> OutputTypes(FunctionDefinitionAst funcAst, IEnumerable<TypeDefinitionAst> classes)
693684
{
694685
return (new FindPipelineOutput(funcAst, classes)).outputTypes;
695-
=======
696-
/// Get list of outputTypes
697-
/// </summary>
698-
/// <returns></returns>
699-
public List<string> OutputTypes
700-
{
701-
get
702-
{
703-
return outputTypes;
704-
}
705-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
706686
}
707687

708688
/// <summary>
@@ -827,20 +807,12 @@ public object VisitNamedBlock(NamedBlockAst namedBlockAst)
827807
{
828808
if (namedBlockAst != null)
829809
{
830-
<<<<<<< HEAD
831810
foreach (StatementAst block in namedBlockAst.Statements)
832-
=======
833-
foreach (var block in namedBlockAst.Statements)
834-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
835811
{
836812
object type = block.Visit(this);
837813
if (type != null && type is string && !String.IsNullOrWhiteSpace(type as string))
838814
{
839-
<<<<<<< HEAD
840815
outputTypes.Add(Tuple.Create(type as string, block));
841-
=======
842-
outputTypes.Add(type as string);
843-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
844816
}
845817
}
846818
}
@@ -857,20 +829,12 @@ public object VisitStatementBlock(StatementBlockAst statementBlockAst)
857829
{
858830
if (statementBlockAst != null)
859831
{
860-
<<<<<<< HEAD
861832
foreach (StatementAst block in statementBlockAst.Statements)
862-
=======
863-
foreach (var block in statementBlockAst.Statements)
864-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
865833
{
866834
object type = block.Visit(this);
867835
if (type != null && type is string && !String.IsNullOrWhiteSpace(type as string))
868836
{
869-
<<<<<<< HEAD
870837
outputTypes.Add(Tuple.Create(type as string, block));
871-
=======
872-
outputTypes.Add(type as string);
873-
>>>>>>> 01a9d251e1344f53c7a881fccacc5123ce02827a
874838
}
875839
}
876840
}

0 commit comments

Comments
 (0)