equal
deleted
inserted
replaced
|
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 PPCScannerResultStrategy subclass:#PPCNoResultStrategy |
|
6 instanceVariableNames:'' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'PetitCompiler-Scanner' |
|
10 ! |
|
11 |
|
12 !PPCNoResultStrategy methodsFor:'as yet unclassified'! |
|
13 |
|
14 recordFailure: retval offset: offset |
|
15 "nothing to do" |
|
16 ! |
|
17 |
|
18 recordMatch: retval offset: offset |
|
19 "nothing to do" |
|
20 ! |
|
21 |
|
22 reset |
|
23 "nothing to do" |
|
24 ! |
|
25 |
|
26 returnFailure: retval offset: offset |
|
27 "nothing to do" |
|
28 ! |
|
29 |
|
30 returnMatch: retval offset: offset |
|
31 codeGen code: 'stream position: stream position - 1.'. |
|
32 codeGen codeReturn |
|
33 ! |
|
34 |
|
35 returnResult: state |
|
36 codeGen codeReturn |
|
37 ! ! |
|
38 |