equal
deleted
inserted
replaced
44 setUp |
44 setUp |
45 options := PPCCompilationOptions default |
45 options := PPCCompilationOptions default |
46 profile: true; |
46 profile: true; |
47 yourself. |
47 yourself. |
48 |
48 |
49 configuration := PPCTokenizingConfiguration new |
49 configuration := PPCTokenizingConfiguration new. |
50 options: options; |
50 configuration context options: options. |
51 yourself. |
|
52 |
51 |
53 self cleanClass. |
52 self cleanClass. |
54 |
53 |
55 fooToken := 'foo' asParser token trim name: 'foo'; yourself. |
54 fooToken := 'foo' asParser token trim name: 'foo'; yourself. |
56 idToken := (#word asParser plus) token trim name: 'id'; yourself. |
55 idToken := (#word asParser plus) token trim name: 'id'; yourself. |
57 unaryToken := (#word asParser plus, $: asParser not) token trim name: 'unary'; yourself. |
56 unaryToken := (#word asParser plus, $: asParser not) token trim name: 'unary'; yourself. |
58 keywordToken := (#word asParser plus, $: asParser) token trim name: 'kw'; yourself. |
57 keywordToken := (#word asParser plus, $: asParser) token trim name: 'kw'; yourself. |
59 assignmentToken := (':=' asParser) token trim name: 'assignment'; yourself. |
58 assignmentToken := (':=' asParser) token trim name: 'assignment'; yourself. |
60 |
59 |
61 "Modified: / 24-08-2015 / 23:40:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
60 "Modified: / 28-08-2015 / 14:19:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
62 ! |
61 ! |
63 |
62 |
64 tearDown |
63 tearDown |
65 "self cleanClass" |
64 "self cleanClass" |
66 ! |
65 ! |