Lines Matching refs:symbol
379 # Attempt to match the current input symbol the token type
380 # specified by +type+. If the symbol matches the type,
381 # consume the current symbol and return its value. If
382 # the symbol doesn't match, attempt to use the follow-set
397 # the current symbol from the input stream.
440 "missing #{ token_name } at #{ token_error_display( e.symbol ) }"
443 "mismatched input #{ token_error_display( e.symbol ) } expecting #{ token_name }"
446 "mismatched tree node: #{ e.symbol } expecting #{ token_name }"
448 "no viable alternative at input " << token_error_display( e.symbol )
451 [ token_error_display( e.symbol ), e.expecting.inspect ]
454 [ token_error_display( e.symbol ), e.expecting.inspect ]
669 # symbols. But, actions might refer to that missing symbol.
795 # Match needs to return the current input symbol, which gets put
800 # input symbol is.
811 # types can be a single symbol type or a set of symbol types
1142 char = character_error_display( e.symbol ) rescue nil
1189 if symbol = @input.look and symbol != EOF then symbol = symbol.inspect
1190 else symbol = '<EOF>' end
1191 input_symbol = "#{ symbol } @ line #{ line } / col #{ column }"
1196 if symbol = @input.look and symbol != EOF then symbol = symbol.inspect
1197 else symbol = '<EOF>' end
1198 input_symbol = "#{ symbol } @ line #{ line } / col #{ column }"