lib/rbi/visitor.rb in rbi-0.1.14 vs lib/rbi/visitor.rb in rbi-0.2.0

- old
+ new

@@ -17,10 +17,14 @@ case node when BlankLine visit_blank_line(node) when Comment visit_comment(node) + when TEnum + visit_tenum(node) + when TStruct + visit_tstruct(node) when Module visit_module(node) when Class visit_class(node) when SingletonClass @@ -33,10 +37,12 @@ visit_visibility_group(node) when ConflictTree visit_conflict_tree(node) when ScopeConflict visit_scope_conflict(node) + when TEnumBlock + visit_tenum_block(node) when Tree visit_tree(node) when Const visit_const(node) when AttrAccessor @@ -79,19 +85,13 @@ visit_arg(node) when Sig visit_sig(node) when SigParam visit_sig_param(node) - when TStruct - visit_tstruct(node) when TStructConst visit_tstruct_const(node) when TStructProp visit_tstruct_prop(node) - when TEnum - visit_tenum(node) - when TEnumBlock - visit_tenum_block(node) when Helper visit_helper(node) when TypeMember visit_type_member(node) when MixesInClassMethods