Method: SyntaxTree::Not#format
- Defined in:
- lib/syntax_tree/node.rb
#format(q) ⇒ Object
10402 10403 10404 10405 10406 |
# File 'lib/syntax_tree/node.rb', line 10402 def format(q) q.text(parentheses ? "not(" : "not ") q.format(statement) q.text(")") if parentheses end |