equal
deleted
inserted
replaced
|
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
|
2 |
|
3 PPCStarMessagePredicateNode subclass:#PPCTokenStarMessagePredicateNode |
|
4 instanceVariableNames:'' |
|
5 classVariableNames:'' |
|
6 poolDictionaries:'' |
|
7 category:'PetitCompiler-Nodes' |
|
8 ! |
|
9 |
|
10 PPCTokenStarMessagePredicateNode comment:'' |
|
11 ! |
|
12 |
|
13 !PPCTokenStarMessagePredicateNode methodsFor:'as yet unclassified'! |
|
14 |
|
15 asFast |
|
16 ^ self |
|
17 ! |
|
18 |
|
19 compileWith: compiler effect: effect id: id |
|
20 compiler startMethod: id. |
|
21 compiler add: '[ context peek ', message,' ] whileTrue: ['. |
|
22 compiler indent. |
|
23 compiler add: 'context next'. |
|
24 compiler indent. |
|
25 compiler dedent. |
|
26 compiler add: '].'. |
|
27 ^ compiler stopMethod. |
|
28 ! ! |
|
29 |