module Mutest::AST::Sexp
Mixin for node sexp syntax
Private Instance Methods
n_not(node)
click to toggle source
Build a negated boolean node
@param [Parser::AST::Node] node
@return [Parser::AST::Node]
# File lib/mutest/ast/sexp.rb, line 21 def n_not(node) s(:send, node, :!) end
s(type, *children)
click to toggle source
Build node
@param [Symbol] type
@return [Parser::AST::Node]
# File lib/mutest/ast/sexp.rb, line 12 def s(type, *children) ::Parser::AST::Node.new(type, children) end