-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17becd2
commit 3094cd5
Showing
5 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
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
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
7 changes: 7 additions & 0 deletions
7
...rTests/RazorDirectivesTest/DirectiveDescriptor_AttributeToken_BalancesBrackets.cspans.txt
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,7 @@ | ||
Markup span at (0:0,0 [2] ) (Accepts:Any) - Parent: Markup block at (0:0,0 [45] ) | ||
Transition span at (2:1,0 [1] ) (Accepts:None) - Parent: Directive block at (2:1,0 [43] ) | ||
MetaCode span at (3:1,1 [6] ) (Accepts:None) - Parent: Directive block at (2:1,0 [43] ) | ||
Code span at (9:1,7 [1] ) (Accepts:Whitespace) - Parent: Directive block at (2:1,0 [43] ) | ||
Code span at (10:1,8 [33] ) (Accepts:NonWhitespace) - Parent: Directive block at (2:1,0 [43] ) | ||
Markup span at (43:1,41 [2] ) (Accepts:Whitespace) - Parent: Directive block at (2:1,0 [43] ) | ||
Markup span at (45:2,0 [0] ) (Accepts:Any) - Parent: Markup block at (0:0,0 [45] ) |
39 changes: 39 additions & 0 deletions
39
...erTests/RazorDirectivesTest/DirectiveDescriptor_AttributeToken_BalancesBrackets.stree.txt
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,39 @@ | ||
RazorDocument - [0..45)::45 - [LF@custom [SomeCustom(new int[] { 1, 2, 3 }LF] | ||
MarkupBlock - [0..45)::45 | ||
MarkupTextLiteral - [0..2)::2 - [LF] - Gen<Markup> - SpanEditHandler;Accepts:Any | ||
NewLine;[LF]; | ||
CSharpCodeBlock - [2..45)::43 | ||
RazorDirective - [2..45)::43 - Directive:{custom;SingleLine;Unrestricted} | ||
CSharpTransition - [2..3)::1 - Gen<None> - SpanEditHandler;Accepts:None | ||
Transition;[@]; | ||
RazorDirectiveBody - [3..45)::42 | ||
RazorMetaCode - [3..9)::6 - Gen<None> - SpanEditHandler;Accepts:None | ||
Identifier;[custom]; | ||
CSharpCodeBlock - [9..45)::36 | ||
CSharpStatementLiteral - [9..10)::1 - [ ] - Gen<None> - SpanEditHandler;Accepts:Whitespace | ||
Whitespace;[ ]; | ||
CSharpStatementLiteral - [10..43)::33 - [[SomeCustom(new int[] { 1, 2, 3 }] - Gen<DirectiveToken {;Attribute;Opt:False}> - DirectiveTokenEditHandler;Accepts:NonWhitespace | ||
LeftBracket;[[]; | ||
Identifier;[SomeCustom]; | ||
LeftParenthesis;[(]; | ||
Keyword;[new]; | ||
Whitespace;[ ]; | ||
Keyword;[int]; | ||
LeftBracket;[[]; | ||
RightBracket;[]]; | ||
Whitespace;[ ]; | ||
LeftBrace;[{]; | ||
Whitespace;[ ]; | ||
IntegerLiteral;[1]; | ||
Comma;[,]; | ||
Whitespace;[ ]; | ||
IntegerLiteral;[2]; | ||
Comma;[,]; | ||
Whitespace;[ ]; | ||
IntegerLiteral;[3]; | ||
Whitespace;[ ]; | ||
RightBrace;[}]; | ||
MarkupEphemeralTextLiteral - [43..45)::2 - [LF] - Gen<None> - SpanEditHandler;Accepts:Whitespace | ||
NewLine;[LF]; | ||
MarkupTextLiteral - [45..45)::0 - [] - Gen<Markup> - SpanEditHandler;Accepts:Any | ||
Marker;[]; |