module Astrolabe::Sexp

This module provides a shorthand method to create a {Node} like ‘AST::Sexp`.

@see rubydoc.info/gems/ast/AST/Sexp

Public Instance Methods

s(type, *children) click to toggle source

Creates a {Node} with type ‘type` and children `children`.

# File lib/astrolabe/sexp.rb, line 11
def s(type, *children)
  Node.new(type, children)
end