github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/config/lang/y.output (about) 1 2 state 0 3 $accept: .top $end 4 top: . (1) 5 6 PROGRAM_BRACKET_LEFT shift 7 7 STRING shift 6 8 . reduce 1 (src line 34) 9 10 interpolation goto 5 11 literal goto 4 12 literalModeTop goto 2 13 literalModeValue goto 3 14 top goto 1 15 16 state 1 17 $accept: top.$end 18 19 $end accept 20 . error 21 22 23 state 2 24 top: literalModeTop. (2) 25 literalModeTop: literalModeTop.literalModeValue 26 27 PROGRAM_BRACKET_LEFT shift 7 28 STRING shift 6 29 . reduce 2 (src line 42) 30 31 interpolation goto 5 32 literal goto 4 33 literalModeValue goto 8 34 35 state 3 36 literalModeTop: literalModeValue. (3) 37 38 . reduce 3 (src line 64) 39 40 41 state 4 42 literalModeValue: literal. (5) 43 44 . reduce 5 (src line 84) 45 46 47 state 5 48 literalModeValue: interpolation. (6) 49 50 . reduce 6 (src line 89) 51 52 53 state 6 54 literal: STRING. (18) 55 56 . reduce 18 (src line 155) 57 58 59 state 7 60 interpolation: PROGRAM_BRACKET_LEFT.expr PROGRAM_BRACKET_RIGHT 61 62 PROGRAM_BRACKET_LEFT shift 7 63 PAREN_LEFT shift 10 64 IDENTIFIER shift 14 65 INTEGER shift 12 66 FLOAT shift 13 67 STRING shift 6 68 . error 69 70 expr goto 9 71 interpolation goto 5 72 literal goto 4 73 literalModeTop goto 11 74 literalModeValue goto 3 75 76 state 8 77 literalModeTop: literalModeTop literalModeValue. (4) 78 79 . reduce 4 (src line 69) 80 81 82 state 9 83 interpolation: PROGRAM_BRACKET_LEFT expr.PROGRAM_BRACKET_RIGHT 84 expr: expr.ARITH_OP expr 85 86 PROGRAM_BRACKET_RIGHT shift 15 87 ARITH_OP shift 16 88 . error 89 90 91 state 10 92 expr: PAREN_LEFT.expr PAREN_RIGHT 93 94 PROGRAM_BRACKET_LEFT shift 7 95 PAREN_LEFT shift 10 96 IDENTIFIER shift 14 97 INTEGER shift 12 98 FLOAT shift 13 99 STRING shift 6 100 . error 101 102 expr goto 17 103 interpolation goto 5 104 literal goto 4 105 literalModeTop goto 11 106 literalModeValue goto 3 107 108 state 11 109 literalModeTop: literalModeTop.literalModeValue 110 expr: literalModeTop. (9) 111 112 PROGRAM_BRACKET_LEFT shift 7 113 STRING shift 6 114 . reduce 9 (src line 105) 115 116 interpolation goto 5 117 literal goto 4 118 literalModeValue goto 8 119 120 state 12 121 expr: INTEGER. (10) 122 123 . reduce 10 (src line 109) 124 125 126 state 13 127 expr: FLOAT. (11) 128 129 . reduce 11 (src line 117) 130 131 132 state 14 133 expr: IDENTIFIER. (13) 134 expr: IDENTIFIER.PAREN_LEFT args PAREN_RIGHT 135 136 PAREN_LEFT shift 18 137 . reduce 13 (src line 133) 138 139 140 state 15 141 interpolation: PROGRAM_BRACKET_LEFT expr PROGRAM_BRACKET_RIGHT. (7) 142 143 . reduce 7 (src line 94) 144 145 146 state 16 147 expr: expr ARITH_OP.expr 148 149 PROGRAM_BRACKET_LEFT shift 7 150 PAREN_LEFT shift 10 151 IDENTIFIER shift 14 152 INTEGER shift 12 153 FLOAT shift 13 154 STRING shift 6 155 . error 156 157 expr goto 19 158 interpolation goto 5 159 literal goto 4 160 literalModeTop goto 11 161 literalModeValue goto 3 162 163 state 17 164 expr: PAREN_LEFT expr.PAREN_RIGHT 165 expr: expr.ARITH_OP expr 166 167 PAREN_RIGHT shift 20 168 ARITH_OP shift 16 169 . error 170 171 172 state 18 173 expr: IDENTIFIER PAREN_LEFT.args PAREN_RIGHT 174 args: . (15) 175 176 PROGRAM_BRACKET_LEFT shift 7 177 PAREN_LEFT shift 10 178 IDENTIFIER shift 14 179 INTEGER shift 12 180 FLOAT shift 13 181 STRING shift 6 182 . reduce 15 (src line 142) 183 184 expr goto 22 185 interpolation goto 5 186 literal goto 4 187 literalModeTop goto 11 188 literalModeValue goto 3 189 args goto 21 190 191 state 19 192 expr: expr.ARITH_OP expr 193 expr: expr ARITH_OP expr. (12) 194 195 . reduce 12 (src line 125) 196 197 198 state 20 199 expr: PAREN_LEFT expr PAREN_RIGHT. (8) 200 201 . reduce 8 (src line 100) 202 203 204 state 21 205 expr: IDENTIFIER PAREN_LEFT args.PAREN_RIGHT 206 args: args.COMMA expr 207 208 PAREN_RIGHT shift 23 209 COMMA shift 24 210 . error 211 212 213 state 22 214 expr: expr.ARITH_OP expr 215 args: expr. (17) 216 217 ARITH_OP shift 16 218 . reduce 17 (src line 150) 219 220 221 state 23 222 expr: IDENTIFIER PAREN_LEFT args PAREN_RIGHT. (14) 223 224 . reduce 14 (src line 137) 225 226 227 state 24 228 args: args COMMA.expr 229 230 PROGRAM_BRACKET_LEFT shift 7 231 PAREN_LEFT shift 10 232 IDENTIFIER shift 14 233 INTEGER shift 12 234 FLOAT shift 13 235 STRING shift 6 236 . error 237 238 expr goto 25 239 interpolation goto 5 240 literal goto 4 241 literalModeTop goto 11 242 literalModeValue goto 3 243 244 state 25 245 expr: expr.ARITH_OP expr 246 args: args COMMA expr. (16) 247 248 ARITH_OP shift 16 249 . reduce 16 (src line 146) 250 251 252 15 terminals, 8 nonterminals 253 19 grammar rules, 26/2000 states 254 0 shift/reduce, 0 reduce/reduce conflicts reported 255 57 working sets used 256 memory: parser 35/30000 257 21 extra closures 258 45 shift entries, 1 exceptions 259 14 goto entries 260 23 entries saved by goto default 261 Optimizer space used: output 30/30000 262 30 table entries, 0 zero 263 maximum spread: 15, maximum offset: 24