File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ attributeKW = "attributeKW" { return emit('keyword'); }
116116attributeName "attribute name" = identifier { return emit (' attribute' )}
117117
118118/* INTERFACE DECL */
119- ifaceDecl = _ "interface" _ interfaceName _ ((requires ? _ openBrace _ ifaceMember * _ closeBrace ) / ";" )
119+ ifaceDecl = _ "interface" _ interfaceName _ ((extends ? _ requires ? _ openBrace _ ifaceMember * _ closeBrace ) / ";" )
120120interfaceName = identifier { return emit (' interface' ); }
121121
122122/* METHOD DECL */
Original file line number Diff line number Diff line change @@ -518,6 +518,8 @@ connection.onCompletion(
518518 'contract' ,
519519 'static_name' ,
520520 'attributeusage' ,
521+ 'contractversion' ,
522+ 'uuid' ,
521523 //
522524 'target_runtimeclass' ,
523525 'target_interface' ,
Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ namespace DemoNamespace
1010 {
1111 void DoSomething();
1212 }
13+
14+ [
15+ uuid("12345678-1234-1234-1234-123456789012"),
16+ contract(MyContract, 1.0)
17+ ]
18+ interface IMyInterface : Windows.Foundation.IInspectable
19+ {
20+ void Foo();
21+ };
1322
1423 runtimeclass DemoClass : [PREVIEW_API] /* comment */ IDemoInterface
1524 {
You can’t perform that action at this time.
0 commit comments