Skip to content

Commit

Permalink
Remove some old dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCheek committed Apr 15, 2015
1 parent 3b1dd24 commit bdbf873
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions lib/ddir/ast.rb
Expand Up @@ -99,13 +99,6 @@ def classname
end


class Null < Ast
def children
[]
end
end


class Body < Ast
attr_accessor :expressions

Expand Down Expand Up @@ -328,13 +321,6 @@ def children
end


class None < Ast
def children
[]
end
end


class Variable < Ast
attr_accessor :name

Expand Down
3 changes: 0 additions & 3 deletions lib/ddir/generate.rb
Expand Up @@ -107,9 +107,6 @@ def generate(ast, entry, indentation)
when :required_param
"#{ast.name}:"

when :none
''

else
raise "CANNOT GENERATE #{ast.inspect}"
end
Expand Down

0 comments on commit bdbf873

Please sign in to comment.