equal
deleted
inserted
replaced
|
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
|
2 |
|
3 PPCAnyNode subclass:#PPCInlineAnyNode |
|
4 instanceVariableNames:'' |
|
5 classVariableNames:'' |
|
6 poolDictionaries:'' |
|
7 category:'PetitCompiler-Nodes' |
|
8 ! |
|
9 |
|
10 PPCInlineAnyNode comment:'' |
|
11 ! |
|
12 |
|
13 !PPCInlineAnyNode methodsFor:'as yet unclassified'! |
|
14 |
|
15 asInlined |
|
16 ^ self |
|
17 ! |
|
18 |
|
19 compileWith: compiler effect: effect id: id |
|
20 compiler startInline: id. |
|
21 compiler add: 'context next ifNil: [ error := true. ].'. |
|
22 ^ compiler stopInline. |
|
23 ! |
|
24 |
|
25 printOn: aStream |
|
26 aStream nextPutAll: #inlined. |
|
27 super printOn: aStream. |
|
28 ! ! |
|
29 |