module RuboCop::AST::PredicateOperatorNode
def logical_operator?
-
(Boolean)
- whether this is a logical operator
def logical_operator? operator == LOGICAL_AND || operator == LOGICAL_OR end
def operator
-
(String)
- the operator
def operator loc.operator.source end
def semantic_operator?
-
(Boolean)
- whether this is a semantic operator
def semantic_operator? operator == SEMANTIC_AND || operator == SEMANTIC_OR end