Sha256: 47a8b3af9f8e8e3a1f6b89296d62560c1d8cc716b47f447f469ba4ccc5118115

Contents?: true

Size: 627 Bytes

Versions: 30

Compression:

Stored size: 627 Bytes

Contents

#!/usr/local/bin/ruby -w

require 'parse_tree'

all_nodes = ParseTree::NODE_NAMES

ARGV.each do |processor|
  require processor
end

ObjectSpace.each_object(Class) do |klass| 
  if klass < SexpProcessor then

    processor = klass.new
    processors = klass.public_instance_methods(true).grep(/process_/)

    if processor.strict then
      puts "#{klass.name}:"
      puts

      # TODO: check unsupported against supported
      processors = processors.map { |m| m[8..-1].intern } + processor.unsupported
      unsupported = all_nodes - processors 
      p unsupported.sort_by { |sym| sym.to_s }
      puts
    end
  end
end

Version data entries

30 entries across 28 versions & 3 rubygems

Version Path
virtual_keywords-0.3.1 lib/parsetree/bin/parse_tree_audit
virtual_keywords-0.3.0 lib/parsetree/bin/parse_tree_audit
ParseTree-3.0.9 bin/parse_tree_audit
ParseTree-3.0.8 bin/parse_tree_audit
ParseTree-3.0.7 bin/parse_tree_audit
ParseTree-3.0.6 bin/parse_tree_audit
ParseTree-3.0.5 bin/parse_tree_audit
ParseTree-3.0.4 bin/parse_tree_audit
ParseTree-1.5.0 bin/parse_tree_audit
ParseTree-1.6.0 bin/parse_tree_audit
ParseTree-1.6.4 bin/parse_tree_audit
ParseTree-1.6.1 bin/parse_tree_audit
ParseTree-1.6.2 bin/parse_tree_audit
ParseTree-1.6.3 bin/parse_tree_audit
ParseTree-1.7.0 bin/parse_tree_audit
ParseTree-2.0.1 bin/parse_tree_audit
ParseTree-2.0.0 bin/parse_tree_audit
ParseTree-2.0.2 bin/parse_tree_audit
ParseTree-2.1.1 bin/parse_tree_audit
ParseTree-2.1.0 bin/parse_tree_audit