Class: Synvert::Core::Rewriter::IfOnlyExistCondition

Inherits:
Condition
  • Object
show all
Defined in:
lib/synvert/core/rewriter/condition/if_only_exist_condition.rb

Overview

IfOnlyExistCondition checks if node has only one child node and the child node matches.

Method Summary

Methods inherited from Condition

#initialize, #process

Constructor Details

This class inherits a constructor from Synvert::Core::Rewriter::Condition