Class: Preprocessor::StatementParser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- Preprocessor::StatementParser
- Defined in:
- lib/dbc/preprocessor.rb
Constant Summary collapse
- Racc_arg =
[ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ]
- Racc_token_to_s_table =
[ '$end', 'error', '"defined"', 'UPLUS', 'UMINUS', '"!"', '"*"', '"/"', '"%"', '"+"', '"-"', '"<<"', '">>"', '"<"', '"<="', '">"', '">="', '"=="', '"!="', '"&"', '"^"', '"|"', '"&&"', '"||"', 'INTEGER', 'FLOAT', 'CHARACTER', 'STRING', 'IDENTIFIER', 'NEWLINE', 'SPACE', 'COMMENT', 'SYMBOL', 'UNKNOWN', 'IGNORE', 'IGNORE_ALL', '"elif"', '"else"', '"ifdef"', '"ifndef"', '"if"', '"include"', '"include_next"', '"define"', '"undef"', '"line"', '"error"', '"warning"', '"pragma"', '"endif"', '"("', '")"', '"..."', '","', '"#"', '"##"', '"?"', '":"', '$start', 'target', 'statement', 'end_of_statement', 'ignore_statement', 'macro_statement', 'open_continue_condition', 'close_condition', 'directive', 'include_directive', 'ignore_token', 'ignore_all_token', 'ignore_open', 'elif_condition', 'else_condition', 'ignore_other', 'non_space_token', 'if_condition', 'ifdef_condition', 'if_start', 'elif_start', 'identifier', 'expression', 'directive_start', 'directive_text', 'pragma_directive', 'error_directive', 'warning_directive', 'text', 'include_start', 'include_file', 'define_identifier', 'parameters', 'text_nospace', 'param_start', 'param_finish', 'init_parameter_list', 'parameter_list', 'partially_reserved_word', 'space_token', 'text_token', 'completely_reserved_word', 'symbol_token', 'defined_check', 'defined_identifier', 'constant_exp', 'unary_expression', 'cast_expression', 'multiplicative_expression', 'additive_expression', 'shift_expression', 'relational_expression', 'equality_expression', 'and_expression', 'exclusive_or_expression', 'inclusive_or_expression', 'logical_and_expression', 'logical_or_expression', 'conditional_expression']
- Racc_debug_parser =
false
Instance Method Summary collapse
-
#_reduce_none(val, _values, result) ⇒ Object
reduce 187 omitted.
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
reduce 187 omitted
2130 2131 2132 |
# File 'lib/dbc/preprocessor.rb', line 2130 def _reduce_none( val, _values, result ) result end |