OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart 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 // Scanner class for the Dart language. The scanner reads source text | 5 // Scanner class for the Dart language. The scanner reads source text |
6 // and produces a stream of tokens which is used by the parser. | 6 // and produces a stream of tokens which is used by the parser. |
7 // | 7 // |
8 | 8 |
9 #ifndef RUNTIME_VM_SCANNER_H_ | 9 #ifndef RUNTIME_VM_SCANNER_H_ |
10 #define RUNTIME_VM_SCANNER_H_ | 10 #define RUNTIME_VM_SCANNER_H_ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 const CharAtFunc char_at_func_; | 207 const CharAtFunc char_at_func_; |
208 | 208 |
209 Thread* thread_; | 209 Thread* thread_; |
210 Zone* zone_; | 210 Zone* zone_; |
211 | 211 |
212 static KeywordTable keywords_[Token::kNumKeywords]; | 212 static KeywordTable keywords_[Token::kNumKeywords]; |
213 static int keywords_char_offset_[kNumLowercaseChars]; | 213 static int keywords_char_offset_[kNumLowercaseChars]; |
214 }; | 214 }; |
215 | 215 |
216 | |
217 } // namespace dart | 216 } // namespace dart |
218 | 217 |
219 #endif // RUNTIME_VM_SCANNER_H_ | 218 #endif // RUNTIME_VM_SCANNER_H_ |
OLD | NEW |