3
|
1 |
"{ Package: 'jv:dart/compiler' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Dart }"
|
|
4 |
|
|
5 |
TestCase subclass:#ScannerTests
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Languages-Dart-Parser-Tests'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!ScannerTests methodsFor:'tests'!
|
|
14 |
|
|
15 |
test_01
|
|
16 |
|
|
17 |
self assert:
|
|
18 |
(Dart::Scanner scan: 'import ''dart:html''; void main() { }') asArray
|
|
19 |
= #(#import #String $; #void #identifier $( $) ${ $} )
|
|
20 |
|
|
21 |
"Created: / 11-01-2013 / 12:53:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
22 |
! !
|
|
23 |
|
|
24 |
!ScannerTests class methodsFor:'documentation'!
|
|
25 |
|
|
26 |
version_HG
|
|
27 |
|
|
28 |
^ '$Changeset: <not expanded> $'
|
|
29 |
! !
|