github.com/leeprovoost/terraform@v0.6.10-0.20160119085442-96f3f76118e7/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. (19) 55 56 . reduce 19 (src line 163) 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 ARITH_OP shift 14 65 IDENTIFIER shift 15 66 INTEGER shift 12 67 FLOAT shift 13 68 STRING shift 6 69 . error 70 71 expr goto 9 72 interpolation goto 5 73 literal goto 4 74 literalModeTop goto 11 75 literalModeValue goto 3 76 77 state 8 78 literalModeTop: literalModeTop literalModeValue. (4) 79 80 . reduce 4 (src line 69) 81 82 83 state 9 84 interpolation: PROGRAM_BRACKET_LEFT expr.PROGRAM_BRACKET_RIGHT 85 expr: expr.ARITH_OP expr 86 87 PROGRAM_BRACKET_RIGHT shift 16 88 ARITH_OP shift 17 89 . error 90 91 92 state 10 93 expr: PAREN_LEFT.expr PAREN_RIGHT 94 95 PROGRAM_BRACKET_LEFT shift 7 96 PAREN_LEFT shift 10 97 ARITH_OP shift 14 98 IDENTIFIER shift 15 99 INTEGER shift 12 100 FLOAT shift 13 101 STRING shift 6 102 . error 103 104 expr goto 18 105 interpolation goto 5 106 literal goto 4 107 literalModeTop goto 11 108 literalModeValue goto 3 109 110 state 11 111 literalModeTop: literalModeTop.literalModeValue 112 expr: literalModeTop. (9) 113 114 PROGRAM_BRACKET_LEFT shift 7 115 STRING shift 6 116 . reduce 9 (src line 105) 117 118 interpolation goto 5 119 literal goto 4 120 literalModeValue goto 8 121 122 state 12 123 expr: INTEGER. (10) 124 125 . reduce 10 (src line 109) 126 127 128 state 13 129 expr: FLOAT. (11) 130 131 . reduce 11 (src line 117) 132 133 134 state 14 135 expr: ARITH_OP.expr 136 137 PROGRAM_BRACKET_LEFT shift 7 138 PAREN_LEFT shift 10 139 ARITH_OP shift 14 140 IDENTIFIER shift 15 141 INTEGER shift 12 142 FLOAT shift 13 143 STRING shift 6 144 . error 145 146 expr goto 19 147 interpolation goto 5 148 literal goto 4 149 literalModeTop goto 11 150 literalModeValue goto 3 151 152 state 15 153 expr: IDENTIFIER. (14) 154 expr: IDENTIFIER.PAREN_LEFT args PAREN_RIGHT 155 156 PAREN_LEFT shift 20 157 . reduce 14 (src line 141) 158 159 160 state 16 161 interpolation: PROGRAM_BRACKET_LEFT expr PROGRAM_BRACKET_RIGHT. (7) 162 163 . reduce 7 (src line 94) 164 165 166 state 17 167 expr: expr ARITH_OP.expr 168 169 PROGRAM_BRACKET_LEFT shift 7 170 PAREN_LEFT shift 10 171 ARITH_OP shift 14 172 IDENTIFIER shift 15 173 INTEGER shift 12 174 FLOAT shift 13 175 STRING shift 6 176 . error 177 178 expr goto 21 179 interpolation goto 5 180 literal goto 4 181 literalModeTop goto 11 182 literalModeValue goto 3 183 184 state 18 185 expr: PAREN_LEFT expr.PAREN_RIGHT 186 expr: expr.ARITH_OP expr 187 188 PAREN_RIGHT shift 22 189 ARITH_OP shift 17 190 . error 191 192 193 state 19 194 expr: expr.ARITH_OP expr 195 expr: ARITH_OP expr. (13) 196 197 . reduce 13 (src line 133) 198 199 200 state 20 201 expr: IDENTIFIER PAREN_LEFT.args PAREN_RIGHT 202 args: . (16) 203 204 PROGRAM_BRACKET_LEFT shift 7 205 PAREN_LEFT shift 10 206 ARITH_OP shift 14 207 IDENTIFIER shift 15 208 INTEGER shift 12 209 FLOAT shift 13 210 STRING shift 6 211 . reduce 16 (src line 150) 212 213 expr goto 24 214 interpolation goto 5 215 literal goto 4 216 literalModeTop goto 11 217 literalModeValue goto 3 218 args goto 23 219 220 state 21 221 expr: expr.ARITH_OP expr 222 expr: expr ARITH_OP expr. (12) 223 224 . reduce 12 (src line 125) 225 226 227 state 22 228 expr: PAREN_LEFT expr PAREN_RIGHT. (8) 229 230 . reduce 8 (src line 100) 231 232 233 state 23 234 expr: IDENTIFIER PAREN_LEFT args.PAREN_RIGHT 235 args: args.COMMA expr 236 237 PAREN_RIGHT shift 25 238 COMMA shift 26 239 . error 240 241 242 state 24 243 expr: expr.ARITH_OP expr 244 args: expr. (18) 245 246 ARITH_OP shift 17 247 . reduce 18 (src line 158) 248 249 250 state 25 251 expr: IDENTIFIER PAREN_LEFT args PAREN_RIGHT. (15) 252 253 . reduce 15 (src line 145) 254 255 256 state 26 257 args: args COMMA.expr 258 259 PROGRAM_BRACKET_LEFT shift 7 260 PAREN_LEFT shift 10 261 ARITH_OP shift 14 262 IDENTIFIER shift 15 263 INTEGER shift 12 264 FLOAT shift 13 265 STRING shift 6 266 . error 267 268 expr goto 27 269 interpolation goto 5 270 literal goto 4 271 literalModeTop goto 11 272 literalModeValue goto 3 273 274 state 27 275 expr: expr.ARITH_OP expr 276 args: args COMMA expr. (17) 277 278 ARITH_OP shift 17 279 . reduce 17 (src line 154) 280 281 282 15 terminals, 8 nonterminals 283 20 grammar rules, 28/2000 states 284 0 shift/reduce, 0 reduce/reduce conflicts reported 285 57 working sets used 286 memory: parser 40/30000 287 23 extra closures 288 57 shift entries, 1 exceptions 289 15 goto entries 290 27 entries saved by goto default 291 Optimizer space used: output 34/30000 292 34 table entries, 2 zero 293 maximum spread: 15, maximum offset: 26