| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 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 servicec.scanner; | 5 library servicec.scanner; |
| 6 | 6 |
| 7 import 'package:compiler/src/tokens/token.dart' show | 7 import 'package:compiler/src/tokens/token.dart' show |
| 8 StringToken, | 8 StringToken, |
| 9 ErrorToken, | 9 ErrorToken, |
| 10 KeywordToken, | 10 KeywordToken, |
| 11 SymbolToken, | 11 SymbolToken, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 if (next == $LF) { | 78 if (next == $LF) { |
| 79 tail.next = new SymbolToken(LF_INFO, stringOffset); | 79 tail.next = new SymbolToken(LF_INFO, stringOffset); |
| 80 tail = tail.next; | 80 tail = tail.next; |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool isServicecKeyword(String string) { | 85 bool isServicecKeyword(String string) { |
| 86 return own.Keyword.keywords.containsKey(string); | 86 return own.Keyword.keywords.containsKey(string); |
| 87 } | 87 } |
| OLD | NEW |