-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the ordering customization in the sample.
- Loading branch information
1 parent
4ae5c09
commit 2521208
Showing
7 changed files
with
194 additions
and
104 deletions.
There are no files selected for viewing
89 changes: 89 additions & 0 deletions
89
...nerated/Tsu.Trees.RedGreen/Tsu.Trees.RedGreen.SourceGenerator.Generator/Sample/Debug.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// GreenBase = global::Tsu.Trees.RedGreen.Sample.Internal.GreenNode | ||
// RedBase = global::Tsu.Trees.RedGreen.Sample.SampleNode | ||
// KindEnum = global::Tsu.Trees.RedGreen.Sample.SampleKind | ||
// CreateVisitors = True | ||
// CreateWalker = True | ||
// CreateRewriter = True | ||
// Root = global::Tsu.Trees.RedGreen.Sample.Internal.GreenNode | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.GreenNode | ||
// Kinds: | ||
// Children: | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = False, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample | ||
// Kinds: | ||
// Children: | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.FunctionCallExpressionSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.FunctionCallExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 9) | ||
// Children: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample (IsList = False, Name = _identifier, IsOptional = False, PassToBase = False, Order = 1) | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (IsList = True, Name = _args, IsOptional = False, PassToBase = False, Order = 2) | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.BinaryOperationExpressionSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.AdditionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 5) | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.DivisionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 8) | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.MultiplicationExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 7) | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.SubtractionExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 6) | ||
// Children: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (IsList = False, Name = _left, IsOptional = False, PassToBase = False, Order = 1) | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (IsList = False, Name = _right, IsOptional = False, PassToBase = False, Order = 2) | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.NumericalLiteralExpressionSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.NumericalLiteralExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 4) | ||
// Children: | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// double (IsList = False, Name = _value, IsOptional = False, PassToBase = False, Order = 1) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.IdentifierExpression (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 3) | ||
// Children: | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// string (IsList = False, Name = _name, IsOptional = False, PassToBase = False, Order = 1) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.StatementSample | ||
// Kinds: | ||
// Children: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (IsList = False, Name = _semicolon, IsOptional = False, PassToBase = False, Order = -1) | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionStatementSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.ExpressionStatement (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 11) | ||
// Children: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (IsList = False, Name = _expression, IsOptional = False, PassToBase = False, Order = 1) | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (IsList = False, Name = _semicolon, IsOptional = False, PassToBase = True, Order = -1) | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.AssignmentStatement | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.AssignmentStatement (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 10) | ||
// Children: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.IdentifierExpressionSample (IsList = False, Name = _identifier, IsOptional = False, PassToBase = False, Order = 1) | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.ExpressionSample (IsList = False, Name = _value, IsOptional = False, PassToBase = False, Order = 2) | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample (IsList = False, Name = _semicolon, IsOptional = False, PassToBase = True, Order = -1) | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: | ||
// global::Tsu.Trees.RedGreen.Sample.Internal.SemicolonTokenSample | ||
// Kinds: | ||
// Tsu.Trees.RedGreen.Sample.SampleKind.SemicolonToken (IsNull = False, Type = global::Tsu.Trees.RedGreen.Sample.SampleKind, Value = 2) | ||
// Children: | ||
// ExtraData: | ||
// global::Tsu.Trees.RedGreen.Sample.SampleKind (IsList = False, Name = _kind, IsOptional = False, PassToBase = True, Order = 0) | ||
// Descendants: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.