@@ -9,7 +9,7 @@ import cpp
99 */
1010class FileTimeStruct extends Type {
1111 FileTimeStruct ( ) {
12- this .toString ( ) . matches ( "_FILETIME" )
12+ this .toString ( ) = "_FILETIME"
1313 or this .toString ( ) .matches ( "_FILETIME %" )
1414 }
1515}
@@ -20,9 +20,9 @@ class FileTimeStruct extends Type {
2020 */
2121class DateDataStruct extends Type {
2222 DateDataStruct ( ) {
23- this .toString ( ) . matches ( "_SYSTEMTIME" )
24- or this .toString ( ) . matches ( "SYSTEMTIME" )
25- or this .toString ( ) . matches ( "tm" )
23+ this .toString ( ) = "_SYSTEMTIME"
24+ or this .toString ( ) = "SYSTEMTIME"
25+ or this .toString ( ) = "tm"
2626 or this .toString ( ) .matches ( "_SYSTEMTIME %" )
2727 or this .toString ( ) .matches ( "SYSTEMTIME %" )
2828 or this .toString ( ) .matches ( "tm %" )
@@ -61,7 +61,7 @@ abstract class YearFieldAccess extends StructFieldAccess {}
6161 */
6262class SystemTimeDayFieldAccess extends DayFieldAccess {
6363 SystemTimeDayFieldAccess ( ) {
64- this .toString ( ) . matches ( "wDay" )
64+ this .toString ( ) = "wDay"
6565 }
6666}
6767
@@ -70,7 +70,7 @@ class SystemTimeDayFieldAccess extends DayFieldAccess {
7070 */
7171class SystemTimeMonthFieldAccess extends MonthFieldAccess {
7272 SystemTimeMonthFieldAccess ( ) {
73- this .toString ( ) . matches ( "wMonth" )
73+ this .toString ( ) = "wMonth"
7474 }
7575}
7676
@@ -79,7 +79,7 @@ class SystemTimeMonthFieldAccess extends MonthFieldAccess {
7979 */
8080class StructSystemTimeYearFieldAccess extends YearFieldAccess {
8181 StructSystemTimeYearFieldAccess ( ) {
82- this .toString ( ) . matches ( "wYear" )
82+ this .toString ( ) = "wYear"
8383 }
8484}
8585
@@ -88,7 +88,7 @@ class StructSystemTimeYearFieldAccess extends YearFieldAccess {
8888 */
8989class StructTmDayFieldAccess extends DayFieldAccess {
9090 StructTmDayFieldAccess ( ) {
91- this .toString ( ) . matches ( "tm_mday" )
91+ this .toString ( ) = "tm_mday"
9292 }
9393}
9494
@@ -97,7 +97,7 @@ class StructTmDayFieldAccess extends DayFieldAccess {
9797 */
9898class StructTmMonthFieldAccess extends MonthFieldAccess {
9999 StructTmMonthFieldAccess ( ) {
100- this .toString ( ) . matches ( "tm_mon" )
100+ this .toString ( ) = "tm_mon"
101101 }
102102}
103103
@@ -106,6 +106,6 @@ class StructTmMonthFieldAccess extends MonthFieldAccess {
106106 */
107107class StructTmYearFieldAccess extends YearFieldAccess {
108108 StructTmYearFieldAccess ( ) {
109- this .toString ( ) . matches ( "tm_year" )
109+ this .toString ( ) = "tm_year"
110110 }
111111}
0 commit comments