lib/jsduck/ast.rb
0 → 100644
+93
−0
+13
−85
spec/ast_spec.rb
0 → 100644
+112
−0
+4
−78
Loading
Give the responsibility of analyzing Esprima AST tree to separate class. Then in DocType class simply use the simple results from both DocParser and Ast to do very simple detection of doc item type.