Removed silly micro-optimisations that duplicated code unnecessarily.
[panda.git] / tests / data / lexer-output-01.txt
blobbf26a304981b53a3b19ee617408e2835cf7c4a62
1 69
2 TOKEN_IDENTIFIER                        fibonacci
3 TOKEN_LPAREN
4 TOKEN_IDENTIFIER                        self
5 TOKEN_BINARY_SELECTOR           =
6 TOKEN_NUMBER_CONST                      1
7 TOKEN_RPAREN
8 TOKEN_BINARY_SELECTOR           |
9 TOKEN_LPAREN
10 TOKEN_IDENTIFIER                        self
11 TOKEN_BINARY_SELECTOR           =
12 TOKEN_NUMBER_CONST                      0
13 TOKEN_RPAREN
14 TOKEN_KEYWORD_SELECTOR          ifTrue:
15 TOKEN_BLOCK_BEGIN
16 TOKEN_RETURN
17 TOKEN_NUMBER_CONST                      1
18 TOKEN_BLOCK_END
19 TOKEN_KEYWORD_SELECTOR          ifFalse:
20 TOKEN_BLOCK_BEGIN
21 TOKEN_RETURN
22 TOKEN_LPAREN
23 TOKEN_IDENTIFIER                        self
24 TOKEN_BINARY_SELECTOR           -
25 TOKEN_NUMBER_CONST                      1
26 TOKEN_RPAREN
27 TOKEN_IDENTIFIER                        fibonacci
28 TOKEN_BINARY_SELECTOR           +
29 TOKEN_LPAREN
30 TOKEN_IDENTIFIER                        self
31 TOKEN_BINARY_SELECTOR           -
32 TOKEN_NUMBER_CONST                      2
33 TOKEN_RPAREN
34 TOKEN_IDENTIFIER                        fibonacci
35 TOKEN_BLOCK_END
36 TOKEN_PERIOD
37 TOKEN_ARRAY_BEGIN
38 TOKEN_NUMBER_CONST                      1
39 TOKEN_NUMBER_CONST                      2
40 TOKEN_NUMBER_CONST                      3
41 TOKEN_NUMBER_CONST                      4
42 TOKEN_LPAREN
43 TOKEN_NUMBER_CONST                      523525253253.e-2422342
44 TOKEN_BINARY_SELECTOR           -
45 TOKEN_NUMBER_CONST                      3
46 TOKEN_RPAREN
47 TOKEN_RPAREN
48 TOKEN_KEYWORD_SELECTOR          collect:
49 TOKEN_BLOCK_BEGIN
50 TOKEN_COLON
51 TOKEN_IDENTIFIER                        x
52 TOKEN_COLON
53 TOKEN_IDENTIFIER                        y
54 TOKEN_BINARY_SELECTOR           |
55 TOKEN_IDENTIFIER                        x
56 TOKEN_BINARY_SELECTOR           <
57 TOKEN_IDENTIFIER                        y
58 TOKEN_BLOCK_END
59 TOKEN_PERIOD
60 TOKEN_IDENTIFIER                        self
61 TOKEN_KEYWORD_SELECTOR          respondsTo:
62 TOKEN_SYMBOL_CONST                      #hello
63 TOKEN_IDENTIFIER                        i_______7092342abce
64 TOKEN_COMMENT                           the second symbol constant below is actually contains an invalid keyword selector pattern (need a ':' at the end of '#at:put')
65 TOKEN_SYMBOL_CONST                      #at:put:
66 TOKEN_SYMBOL_CONST                      #at:put
67 TOKEN_SYMBOL_CONST                      #at
68 TOKEN_COLON                                     :
69 TOKEN_IDENTIFIER                        put
70 TOKEN_EOF