AlwaysFalse overrides the inner node with a constant "false".
(m VariableMatcher)
| 17 | |
| 18 | // AlwaysFalse overrides the inner node with a constant "false". |
| 19 | func AlwaysFalse(m VariableMatcher) VariableMatcher { |
| 20 | return alwaysFalse{ |
| 21 | Matcher: m, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | // AlwaysFalseNode is mainly used for unit testing to make a Node immediately. |
| 26 | func AlwaysFalseNode(n Node) Node { |
no outgoing calls
no test coverage detected