| 40 columns | |
| >>> leading whitespace before top comment is deleted |
| |
| |
| // comment |
| <<< |
| // comment |
| >>> |
| //comment one |
| |
| //comment two |
| |
| <<< |
| //comment one |
| |
| //comment two |
| >>> |
| /* foo */ /* bar */ |
| <<< |
| /* foo */ /* bar */ |
| >>> |
| var x; //x |
| <<< |
| var x; //x |
| >>> |
| library foo; |
| |
| /// Docs |
| /// spanning |
| /// lines. |
| class A { |
| } |
| |
| /// ... and |
| |
| /// Dangling ones too |
| int x; |
| <<< |
| library foo; |
| |
| /// Docs |
| /// spanning |
| /// lines. |
| class A {} |
| |
| /// ... and |
| |
| /// Dangling ones too |
| int x; |
| >>> |
| library foo; |
| |
| //comment one |
| |
| class C { |
| } |
| <<< |
| library foo; |
| |
| //comment one |
| |
| class C {} |
| >>> |
| library foo; |
| |
| //comment one |
| |
| //comment two |
| |
| class C { |
| } |
| <<< |
| library foo; |
| |
| //comment one |
| |
| //comment two |
| |
| class C {} |
| >>> |
| import 'a.dart'; // a comment |
| class Foo {} |
| <<< |
| import 'a.dart'; // a comment |
| |
| class Foo {} |
| >>> |
| import 'a.dart'; // a comment |
| // comment |
| class Foo {} |
| <<< |
| import 'a.dart'; // a comment |
| |
| // comment |
| class Foo {} |
| >>> |
| import 'a.dart'; /* a */ // b |
| /* c */ // d |
| class Foo {} |
| <<< |
| import 'a.dart'; /* a */ // b |
| |
| /* c */ // d |
| class Foo {} |
| >>> |
| import 'a.dart'; |
| // a comment |
| class Foo {} |
| <<< |
| import 'a.dart'; |
| |
| // a comment |
| class Foo {} |
| >>> |
| import 'a.dart'; |
| // import 'b.dart'; |
| class Foo {} |
| <<< |
| import 'a.dart'; |
| |
| // import 'b.dart'; |
| class Foo {} |
| >>> |
| import 'a.dart'; |
| |
| // a comment |
| class Foo {} |
| <<< |
| import 'a.dart'; |
| |
| // a comment |
| class Foo {} |
| >>> |
| import 'a.dart'; |
| // a comment |
| |
| class Foo {} |
| <<< |
| import 'a.dart'; |
| // a comment |
| |
| class Foo {} |
| >>> two lines between library and import |
| library foo; |
| import 'a.dart'; |
| <<< |
| library foo; |
| |
| import 'a.dart'; |
| >>> two lines between library and export |
| library foo; |
| export 'a.dart'; |
| <<< |
| library foo; |
| |
| export 'a.dart'; |
| >>> two lines between library and part |
| library foo; |
| part 'a.dart'; |
| <<< |
| library foo; |
| |
| part 'a.dart'; |
| >>> before library name |
| library/* c */foo; |
| <<< |
| library /* c */ foo; |
| >>> block comment before "." in library |
| library a/**/.b.c; |
| <<< |
| library a /**/ .b.c; |
| >>> block comment after "." in library |
| library a./**/b.c; |
| <<< |
| library a. /**/ b.c; |
| >>> line comment before "." in library |
| library a// |
| .b.c; |
| <<< |
| library a // |
| .b.c; |
| >>> line comment after "." in library |
| library a.// |
| b.c; |
| <<< |
| library a. // |
| b.c; |