Skip to content

Commit

Permalink
Add another test case for nodes with fields from the base.
Browse files Browse the repository at this point in the history
  • Loading branch information
GGG-KILLER committed Jan 29, 2024
1 parent 2d68e46 commit 435abbb
Show file tree
Hide file tree
Showing 6 changed files with 430 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,64 @@
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.FunctionCallExpressionSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.FunctionCallExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 6)
// Tsu.Trees.RedGreen.Sample.SampleKind.FunctionCallExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 7)
// Children:
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample (Name = identifier, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = firstArg, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample? (Name = secondArg, IsOptional = True, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample (Name = _identifier, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = _firstArg, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample? (Name = _secondArg, IsOptional = True, PassToBase = False)
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.BinaryOperationExpressionSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.AdditionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 2)
// Tsu.Trees.RedGreen.Sample.SampleKind.DivisionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 5)
// Tsu.Trees.RedGreen.Sample.SampleKind.MultiplicationExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 4)
// Tsu.Trees.RedGreen.Sample.SampleKind.SubtractionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 3)
// Tsu.Trees.RedGreen.Sample.SampleKind.AdditionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 3)
// Tsu.Trees.RedGreen.Sample.SampleKind.DivisionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 6)
// Tsu.Trees.RedGreen.Sample.SampleKind.MultiplicationExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 5)
// Tsu.Trees.RedGreen.Sample.SampleKind.SubtractionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 4)
// Children:
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = _left, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = _right, IsOptional = False, PassToBase = False)
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.NumericalLiteralExpressionSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.NumericalLiteralExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 1)
// Tsu.Trees.RedGreen.Sample.SampleKind.NumericalLiteralExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 2)
// Children:
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// double (Name = _value, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.IdentifierExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 0)
// Tsu.Trees.RedGreen.Sample.SampleKind.IdentifierExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 1)
// Children:
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// string (Name = _name, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.StatementSample
// Kinds:
// Children:
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (Name = _semicolon, IsOptional = False, PassToBase = False)
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionStatementSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.ExpressionStatement (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 9)
// Children:
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (Name = _semicolon, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = _expression, IsOptional = False, PassToBase = False)
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.AssignmentStatement
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.AssignmentStatement (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 8)
// Children:
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (Name = _semicolon, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample (Name = _identifier, IsOptional = False, PassToBase = False)
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (Name = _value, IsOptional = False, PassToBase = False)
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample
// Kinds:
// Tsu.Trees.RedGreen.Sample.SampleKind.SemicolonToken (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 0)
// Children:
// ExtraData:
// global::Tsu.Trees.RedGreen.Sample.SampleKind (Name = _kind, IsOptional = False, PassToBase = True)
Loading

0 comments on commit 435abbb

Please sign in to comment.