Class | Sexp |
In: |
lib/sexp.rb
|
Parent: | Array |
Sexps are the basic storage mechanism of SexpProcessor. Sexps have a type (to be renamed node_type) which is the first element of the Sexp. The type is used by SexpProcessor to determine whom to dispatch the Sexp to for processing.
Returns true if the node_type is array or args.
REFACTOR: to TypedSexp - we only care when we have units.
Replaces all elements whose node_type is from with to. Used only for the most trivial of rewrites.