Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: pkg/csslib/lib/css.dart

Issue 23819036: Support for @mixin, @include and @extend (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: mixin w/o parameters Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/csslib/lib/parser.dart » ('j') | pkg/csslib/lib/parser.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
Jennifer Messerly 2013/09/18 06:44:15 2013?
terry 2013/10/09 03:40:33 Changed to 2013. I thought the copyright was the
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library css; 5 library css;
6 6
7 import 'dart:async';
8 import 'dart:collection';
9 import 'dart:io'; 7 import 'dart:io';
10 import 'dart:math' as Math;
11 8
12 import 'package:path/path.dart' as path; 9 import 'package:path/path.dart' as path;
13 import 'package:source_maps/span.dart' show SourceFile; 10 import 'package:source_maps/span.dart' show SourceFile;
14 11
15 import 'parser.dart'; 12 import 'parser.dart';
16 import 'visitor.dart'; 13 import 'visitor.dart';
17 import 'src/messages.dart'; 14 import 'src/messages.dart';
18 import 'src/options.dart'; 15 import 'src/options.dart';
19 16
20 void main() { 17 void main() {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void _printMessage(String message, int duration) { 72 void _printMessage(String message, int duration) {
76 var buf = new StringBuffer(); 73 var buf = new StringBuffer();
77 buf.write(message); 74 buf.write(message);
78 for (int i = message.length; i < 60; i++) buf.write(' '); 75 for (int i = message.length; i < 60; i++) buf.write(' ');
79 buf.write(' -- '); 76 buf.write(' -- ');
80 if (duration < 10) buf.write(' '); 77 if (duration < 10) buf.write(' ');
81 if (duration < 100) buf.write(' '); 78 if (duration < 100) buf.write(' ');
82 buf..write(duration)..write(' ms'); 79 buf..write(duration)..write(' ms');
83 print(buf.toString()); 80 print(buf.toString());
84 } 81 }
OLDNEW
« no previous file with comments | « no previous file | pkg/csslib/lib/parser.dart » ('j') | pkg/csslib/lib/parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698