Class: AdLint::Cc1::IterationStatement
- Inherits:
-
Statement
- Object
- SyntaxNode
- Statement
- AdLint::Cc1::IterationStatement
- Includes:
- SyntaxNodeCollector
- Defined in:
- lib/adlint/cc1/syntax.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Statement
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
- #deduct_controlling_expression ⇒ Object
- #varying_expressions ⇒ Object
- #varying_variable_names ⇒ Object
Methods included from SyntaxNodeCollector
collect_additive_expressions, collect_array_declarators, collect_compound_assignment_expressions, collect_constant_specifiers, collect_equality_expressions, collect_function_declarators, collect_generic_labeled_statements, collect_goto_statements, collect_identifier_declarators, collect_if_else_statements, collect_if_statements, collect_logical_and_expressions, collect_logical_or_expressions, collect_object_specifiers, collect_postfix_decrement_expressions, collect_postfix_increment_expressions, collect_prefix_decrement_expressions, collect_prefix_increment_expressions, collect_relational_expressions, collect_simple_assignment_expressions, collect_typedef_type_specifiers
Methods inherited from Statement
Methods inherited from SyntaxNode
#head_location, #initialize, #inspect, #location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
This class inherits a constructor from AdLint::Cc1::Statement
Instance Method Details
#deduct_controlling_expression ⇒ Object
3624 3625 3626 |
# File 'lib/adlint/cc1/syntax.rb', line 3624 def deduct_controlling_expression subclass_responsibility end |
#varying_expressions ⇒ Object
3632 3633 3634 3635 |
# File 'lib/adlint/cc1/syntax.rb', line 3632 def (self) + (self) end |
#varying_variable_names ⇒ Object
3628 3629 3630 |
# File 'lib/adlint/cc1/syntax.rb', line 3628 def (self).uniq end |