kuniri 0.0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +9 -7
  4. data/COPYING +160 -656
  5. data/Gemfile +4 -3
  6. data/README.md +57 -27
  7. data/Rakefile +3 -1
  8. data/bin/kuniri +50 -26
  9. data/data/aggregation_lang.rb +33 -0
  10. data/data/attribute_lang.rb +14 -87
  11. data/data/class_lang.rb +19 -41
  12. data/data/comment_lang.rb +52 -0
  13. data/data/conditional_lang.rb +14 -41
  14. data/data/constructor_lang.rb +4 -12
  15. data/data/end_block_lang.rb +7 -6
  16. data/data/extern_requirement_lang.rb +10 -17
  17. data/data/function_behavior_lang.rb +17 -66
  18. data/data/global_function_lang.rb +26 -0
  19. data/data/lang_syntax.rb +82 -49
  20. data/data/method_lang.rb +26 -0
  21. data/data/module_namespace_lang.rb +8 -13
  22. data/data/repetition_lang.rb +19 -32
  23. data/data/token_lang.rb +2 -44
  24. data/data/variable_behaviour_lang.rb +43 -0
  25. data/data/variable_global_lang.rb +13 -72
  26. data/kuniri.gemspec +4 -4
  27. data/lib/kuniri/core/configuration/language_available.rb +2 -2
  28. data/lib/kuniri/core/kuniri.rb +32 -24
  29. data/lib/kuniri/core/setting.rb +51 -85
  30. data/lib/kuniri/error/parser_error.rb +9 -0
  31. data/lib/kuniri/language/abstract_container/structured_and_oo/aggregation.rb +29 -0
  32. data/lib/kuniri/language/abstract_container/structured_and_oo/attribute.rb +0 -40
  33. data/lib/kuniri/language/abstract_container/structured_and_oo/global_tokens.rb +20 -0
  34. data/lib/kuniri/language/abstract_container/structured_and_oo/repetition.rb +9 -1
  35. data/lib/kuniri/language/abstract_container/structured_and_oo/variable_global.rb +0 -35
  36. data/lib/kuniri/language/container_data/structured_and_oo/aggregation_data.rb +23 -0
  37. data/lib/kuniri/language/container_data/structured_and_oo/attribute_data.rb +4 -2
  38. data/lib/kuniri/language/container_data/structured_and_oo/basic_structure.rb +24 -0
  39. data/lib/kuniri/language/container_data/structured_and_oo/class_data.rb +13 -19
  40. data/lib/kuniri/language/container_data/structured_and_oo/conditional_data.rb +2 -13
  41. data/lib/kuniri/language/container_data/structured_and_oo/constructor_data.rb +2 -0
  42. data/lib/kuniri/language/container_data/structured_and_oo/extern_requirement_data.rb +11 -6
  43. data/lib/kuniri/language/container_data/structured_and_oo/{file_element.rb → file_element_data.rb} +11 -9
  44. data/lib/kuniri/language/container_data/structured_and_oo/function_abstract.rb +58 -11
  45. data/lib/kuniri/language/container_data/structured_and_oo/function_data.rb +3 -3
  46. data/lib/kuniri/language/container_data/structured_and_oo/manager_basic_structure_data.rb +55 -0
  47. data/lib/kuniri/language/container_data/structured_and_oo/method_data.rb +5 -4
  48. data/lib/kuniri/language/container_data/structured_and_oo/module_namespace_data.rb +3 -1
  49. data/lib/kuniri/language/container_data/structured_and_oo/repetition_data.rb +2 -13
  50. data/lib/kuniri/language/container_data/structured_and_oo/variable_global_data.rb +2 -0
  51. data/lib/kuniri/language/language.rb +37 -11
  52. data/lib/kuniri/language/metadata.rb +29 -0
  53. data/lib/kuniri/language/ruby/aggregation_ruby.rb +37 -0
  54. data/lib/kuniri/language/ruby/attribute_ruby.rb +23 -38
  55. data/lib/kuniri/language/ruby/class_ruby.rb +2 -10
  56. data/lib/kuniri/language/ruby/conditional_ruby.rb +20 -6
  57. data/lib/kuniri/language/ruby/constructor_ruby.rb +5 -7
  58. data/lib/kuniri/language/ruby/end_block_ruby.rb +1 -1
  59. data/lib/kuniri/language/ruby/function_behavior_ruby.rb +1 -9
  60. data/lib/kuniri/language/ruby/global_function_ruby.rb +32 -0
  61. data/lib/kuniri/language/ruby/method_ruby.rb +33 -0
  62. data/lib/kuniri/language/ruby/repetition_ruby.rb +60 -14
  63. data/lib/kuniri/language/ruby/ruby_syntax.rb +76 -49
  64. data/lib/kuniri/parser/output_factory.rb +29 -0
  65. data/lib/kuniri/parser/output_format.rb +134 -0
  66. data/lib/kuniri/parser/parser.rb +3 -7
  67. data/lib/kuniri/parser/xml_builder_engine.rb +94 -0
  68. data/lib/kuniri/parser/xml_output_format.rb +143 -0
  69. data/lib/kuniri/state_machine/OO_structured_fsm/aggregation_state.rb +45 -0
  70. data/lib/kuniri/state_machine/OO_structured_fsm/attribute_state.rb +0 -1
  71. data/lib/kuniri/state_machine/OO_structured_fsm/basic_structure_state.rb +182 -0
  72. data/lib/kuniri/state_machine/OO_structured_fsm/class_state.rb +12 -3
  73. data/lib/kuniri/state_machine/OO_structured_fsm/conditional_state.rb +11 -68
  74. data/lib/kuniri/state_machine/OO_structured_fsm/constructor_state.rb +7 -52
  75. data/lib/kuniri/state_machine/OO_structured_fsm/function_behaviour_state.rb +86 -0
  76. data/lib/kuniri/state_machine/OO_structured_fsm/include_state.rb +2 -3
  77. data/lib/kuniri/state_machine/OO_structured_fsm/method_state.rb +8 -50
  78. data/lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb +6 -1
  79. data/lib/kuniri/state_machine/OO_structured_fsm/repetition_state.rb +10 -59
  80. data/lib/kuniri/state_machine/OO_structured_fsm/token_state_machine.rb +4 -0
  81. data/lib/kuniri/state_machine/OO_structured_fsm/variable_state.rb +0 -1
  82. data/lib/kuniri/version.rb +1 -1
  83. data/other/analyseFile.asta +0 -0
  84. data/spec/core/kuniri_spec.rb +2 -1
  85. data/spec/core/setting_spec.rb +35 -61
  86. data/spec/language/abstract_container/aggregation_spec.rb +13 -0
  87. data/spec/language/abstract_container/extern_requirement_spec.rb +13 -0
  88. data/spec/language/container_data/structured_and_oo/aggregation_data_spec.rb +29 -0
  89. data/spec/language/container_data/structured_and_oo/attribute_data_spec.rb +9 -2
  90. data/spec/language/container_data/structured_and_oo/class_data_spec.rb +1 -46
  91. data/spec/language/container_data/structured_and_oo/constructor_data_spec.rb +32 -2
  92. data/spec/language/container_data/structured_and_oo/extern_requirement_data_spec.rb +31 -7
  93. data/spec/language/container_data/structured_and_oo/{file_element_spec.rb → file_element_data_spec.rb} +21 -5
  94. data/spec/language/container_data/structured_and_oo/function_abstract_spec.rb +213 -0
  95. data/spec/language/container_data/structured_and_oo/function_data_spec.rb +31 -2
  96. data/spec/language/container_data/structured_and_oo/manager_basic_structure_data_spec.rb +150 -0
  97. data/spec/language/container_data/structured_and_oo/method_data_spec.rb +80 -0
  98. data/spec/language/container_data/structured_and_oo/module_namespace_spec.rb +7 -1
  99. data/spec/language/container_data/structured_and_oo/variable_global_data_spec.rb +9 -0
  100. data/spec/language/language_factory_spec.rb +1 -1
  101. data/spec/language/language_spec.rb +46 -9
  102. data/spec/language/ruby/aggregation_ruby_spec.rb +80 -0
  103. data/spec/language/ruby/class_ruby_spec.rb +66 -6
  104. data/spec/language/ruby/constructor_ruby_spec.rb +1 -1
  105. data/spec/language/ruby/end_block_ruby_spec.rb +11 -0
  106. data/spec/language/ruby/extern_requirement_ruby_spec.rb +59 -0
  107. data/spec/language/ruby/function_behavior_ruby_spec.rb +54 -2
  108. data/spec/language/ruby/global_test/.kuniri.yml +4 -0
  109. data/spec/language/ruby/global_test/complete_class_ruby_spec.rb +161 -0
  110. data/spec/language/ruby/global_test/conditional/.kuniri.yml +4 -0
  111. data/spec/language/ruby/global_test/conditional/.kuniri1.yml +4 -0
  112. data/spec/language/ruby/global_test/conditional/.kuniri2.yml +4 -0
  113. data/spec/language/ruby/global_test/conditional/.kuniri3.yml +4 -0
  114. data/spec/language/ruby/global_test/conditional/.kuniri4.yml +4 -0
  115. data/spec/language/ruby/global_test/conditional/.kuniri5.yml +4 -0
  116. data/spec/language/ruby/global_test/conditional/.kuniri6.yml +4 -0
  117. data/spec/language/ruby/global_test/conditional/a_lot_of_conditionals_spec.rb +92 -0
  118. data/spec/language/ruby/global_test/conditional/constructor_very_mix_conditional_spec.rb +105 -0
  119. data/spec/language/ruby/global_test/conditional/function_with_conditional_spec.rb +94 -0
  120. data/spec/language/ruby/global_test/conditional/function_with_nested_conditional_spec.rb +56 -0
  121. data/spec/language/ruby/global_test/conditional/method_very_mix_conditional_spec.rb +109 -0
  122. data/spec/language/ruby/global_test/conditional/very_deep_conditional_structure_spec.rb +61 -0
  123. data/spec/language/ruby/global_test/conditional/very_mix_conditional_spec.rb +105 -0
  124. data/spec/language/ruby/global_test/conditionalAndRepetition/.kuniri.yml +4 -0
  125. data/spec/language/ruby/global_test/conditionalAndRepetition/mix_conditional_repetition_spec.rb +57 -0
  126. data/spec/language/ruby/global_test/repetition/.kuniri.yml +4 -0
  127. data/spec/language/ruby/global_test/repetition/.kuniri2.yml +4 -0
  128. data/spec/language/ruby/global_test/repetition/.kuniri3.yml +4 -0
  129. data/spec/language/ruby/global_test/repetition/.kuniri4.yml +4 -0
  130. data/spec/language/ruby/global_test/repetition/.kuniri5.yml +4 -0
  131. data/spec/language/ruby/global_test/repetition/.kuniri6.yml +4 -0
  132. data/spec/language/ruby/global_test/repetition/.kuniri7.yml +4 -0
  133. data/spec/language/ruby/global_test/repetition/.kuniri8.yml +4 -0
  134. data/spec/language/ruby/global_test/repetition/complete_class_integrity.rb +41 -0
  135. data/spec/language/ruby/global_test/repetition/complete_class_until_loop_spec.rb +42 -0
  136. data/spec/language/ruby/global_test/repetition/complete_class_while_loop_spec.rb +41 -0
  137. data/spec/language/ruby/global_test/repetition/complete_class_with_repetition_spec.rb +42 -0
  138. data/spec/language/ruby/global_test/repetition/constructor_with_mix_repetition_spec.rb +57 -0
  139. data/spec/language/ruby/global_test/repetition/method_with_mix_repetition_spec.rb +59 -0
  140. data/spec/language/ruby/global_test/repetition/very_mix_repetition_spec.rb +61 -0
  141. data/spec/language/ruby/global_test/repetition/very_nested_repetition_spec.rb +65 -0
  142. data/spec/language/ruby/method_ruby_spec.rb +52 -0
  143. data/spec/language/ruby/repetition_ruby_spec.rb +175 -8
  144. data/spec/language/ruby/ruby_syntax_spec.rb +213 -84
  145. data/spec/parser/output_factory_spec.rb +32 -0
  146. data/spec/parser/output_format_spec.rb +83 -0
  147. data/spec/parser/parser_spec.rb +7 -0
  148. data/spec/parser/xmlSchemaValidate/.kuniri1.yml +3 -0
  149. data/spec/parser/xmlSchemaValidate/.kuniri2.yml +3 -0
  150. data/spec/parser/xmlSchemaValidate/.kuniri3.yml +3 -0
  151. data/spec/parser/xmlSchemaValidate/class_data.xsd +99 -0
  152. data/spec/parser/xmlSchemaValidate/fullCodeTwo.xsd +119 -0
  153. data/spec/parser/xmlSchemaValidate/fullCodeWithComments.xsd +146 -0
  154. data/spec/parser/xmlSchemaValidate/simpleFunction.xsd +25 -0
  155. data/spec/parser/xmlSchemaValidate/validate_xml_spec.rb +52 -0
  156. data/spec/parser/xml_builder_engine_spec.rb +258 -0
  157. data/spec/parser/xml_output_format_spec.rb +274 -0
  158. data/spec/samples/rubySyntaxParts/aggregation/classAggregation.rb +37 -0
  159. data/spec/samples/rubySyntaxParts/aggregation/constructorAggregation.rb +36 -0
  160. data/spec/samples/rubySyntaxParts/aggregation/methodAggregation.rb +36 -0
  161. data/spec/samples/rubySyntaxParts/aggregation/multipleAggregation.rb +59 -0
  162. data/spec/samples/rubySyntaxParts/comment/simple_multiple_line_comment_class.rb +7 -0
  163. data/spec/samples/rubySyntaxParts/comment/simple_single_line_comment_class.rb +2 -1
  164. data/spec/samples/rubySyntaxParts/conditionalStatment/aLotOfConditionals.rb +42 -0
  165. data/spec/samples/rubySyntaxParts/conditionalStatment/commonCasesOfConditionals.rb +47 -0
  166. data/spec/samples/rubySyntaxParts/conditionalStatment/constructorConditional.rb +1 -1
  167. data/spec/samples/rubySyntaxParts/conditionalStatment/constructorMixConditional.rb +41 -0
  168. data/spec/samples/rubySyntaxParts/conditionalStatment/methodMixConditional.rb +41 -0
  169. data/spec/samples/rubySyntaxParts/conditionalStatment/mixConditionalWithRepetition.rb +20 -0
  170. data/spec/samples/rubySyntaxParts/conditionalStatment/nestedConditional.rb +61 -0
  171. data/spec/samples/rubySyntaxParts/conditionalStatment/veryDeepConditionalStructure.rb +48 -0
  172. data/spec/samples/rubySyntaxParts/conditionalStatment/veryMixConditional.rb +37 -0
  173. data/spec/samples/rubySyntaxParts/fullCode/fullCodeTwo.rb +56 -0
  174. data/spec/samples/rubySyntaxParts/fullCode/fullCodeWithComments.rb +64 -0
  175. data/spec/samples/rubySyntaxParts/fullCode/simpleFullCode.rb +9 -1
  176. data/spec/samples/rubySyntaxParts/method/simpleMethod.rb +2 -0
  177. data/spec/samples/rubySyntaxParts/repetition/beginWithWhileLoopInClass.rb +10 -0
  178. data/spec/samples/rubySyntaxParts/repetition/constructorWithMixRepetition.rb +22 -0
  179. data/spec/samples/rubySyntaxParts/repetition/forLoopInClass.rb +7 -0
  180. data/spec/samples/rubySyntaxParts/repetition/methodWithMixRepetition.rb +19 -0
  181. data/spec/samples/rubySyntaxParts/repetition/mixConditionalRepetition.rb +17 -0
  182. data/spec/samples/rubySyntaxParts/repetition/untilLoopInClass.rb +16 -0
  183. data/spec/samples/rubySyntaxParts/repetition/veryMixRepetition.rb +28 -0
  184. data/spec/samples/rubySyntaxParts/repetition/veryNestedRepetition.rb +17 -0
  185. data/spec/samples/rubySyntaxParts/repetition/whileLoopInClass.rb +12 -0
  186. data/spec/state_machine/OO_structured_fsm/aggregation_state_spec.rb +67 -0
  187. data/spec/state_machine/OO_structured_fsm/class_state_spec.rb +15 -0
  188. data/spec/state_machine/OO_structured_fsm/conditional_state_spec.rb +64 -0
  189. data/spec/state_machine/OO_structured_fsm/include_state_spec.rb +3 -3
  190. data/spec/state_machine/OO_structured_fsm/method_state_spec.rb +18 -0
  191. data/spec/state_machine/OO_structured_fsm/repetition_state_spec.rb +27 -0
  192. metadata +195 -28
  193. data/lib/kuniri/core/configuration/monitor_available.rb +0 -13
  194. data/lib/kuniri/language/abstract_container/structured_and_oo/constructor.rb +0 -52
  195. data/lib/kuniri/parser/parser_xml.rb +0 -128
  196. data/spec/language/abstract_container/constructor_spec.rb +0 -13
  197. data/spec/util/html_logger_spec.rb +0 -31
  198. data/spec/util/logger_spec.rb +0 -20
  199. data/spec/util/txt_logger_spec.rb +0 -31
@@ -27,6 +27,21 @@ RSpec.describe StateMachine::OOStructuredFSM::ClassState do
27
27
  .to be_instance_of(StateMachine::OOStructuredFSM::MethodState)
28
28
  end
29
29
 
30
+ it "Class to aggregation." do
31
+ @classStateTest.class_capture
32
+ @classStateTest.aggregation_capture
33
+ expect(@classStateTest.state)
34
+ .to be_instance_of(StateMachine::OOStructuredFSM::AggregationState)
35
+ end
36
+
37
+ it "Aggregation to class." do
38
+ @classStateTest.class_capture
39
+ @classStateTest.aggregation_capture
40
+ @classStateTest.class_capture
41
+ expect(@classStateTest.state)
42
+ .to be_instance_of(StateMachine::OOStructuredFSM::ClassState)
43
+ end
44
+
30
45
  it "Method to class." do
31
46
  @classStateTest.class_capture
32
47
  @classStateTest.method_capture
@@ -61,6 +61,70 @@ RSpec.describe StateMachine::OOStructuredFSM::ConditionalState do
61
61
  end
62
62
  end
63
63
 
64
+ context "Conditional to conditional" do
65
+ it "Self reference to conditional" do
66
+ @conditionalTest.state.function_capture
67
+ @conditionalTest.state.conditional_capture
68
+ @conditionalTest.state.conditional_capture
69
+ @conditionalTest.state.conditional_capture
70
+ expect(@conditionalTest.state)
71
+ .to be_instance_of(StateMachine::OOStructuredFSM::ConditionalState)
72
+ end
73
+
74
+ it "Go out of self reference" do
75
+ @conditionalTest.state.function_capture
76
+ @conditionalTest.state.conditional_capture
77
+ @conditionalTest.state.conditional_capture
78
+ @conditionalTest.rewind_state
79
+ expect(@conditionalTest.state)
80
+ .to be_instance_of(StateMachine::OOStructuredFSM::ConditionalState)
81
+ @conditionalTest.rewind_state
82
+ expect(@conditionalTest.state)
83
+ .to be_instance_of(StateMachine::OOStructuredFSM::FunctionState)
84
+ end
85
+ end
86
+
87
+ context "Conditional to repetition and vice versa" do
88
+ it "Conditional to loops" do
89
+ @conditionalTest.state.function_capture
90
+ @conditionalTest.state.conditional_capture
91
+ @conditionalTest.state.repetition_capture
92
+ expect(@conditionalTest.state)
93
+ .to be_instance_of(StateMachine::OOStructuredFSM::RepetitionState)
94
+ end
95
+
96
+ it "Loops to conditional" do
97
+ @conditionalTest.state.function_capture
98
+ @conditionalTest.state.conditional_capture
99
+ @conditionalTest.state.repetition_capture
100
+ @conditionalTest.rewind_state
101
+ expect(@conditionalTest.state)
102
+ .to be_instance_of(StateMachine::OOStructuredFSM::ConditionalState)
103
+ end
104
+
105
+ it "Nested conditional ending with repetition" do
106
+ @conditionalTest.state.function_capture
107
+ @conditionalTest.state.conditional_capture
108
+ @conditionalTest.state.conditional_capture
109
+ @conditionalTest.state.repetition_capture
110
+ expect(@conditionalTest.state)
111
+ .to be_instance_of(StateMachine::OOStructuredFSM::RepetitionState)
112
+ end
113
+
114
+ it "Nested conditional ending with repetition, and going back" do
115
+ @conditionalTest.state.function_capture
116
+ @conditionalTest.state.conditional_capture
117
+ @conditionalTest.state.conditional_capture
118
+ @conditionalTest.state.repetition_capture
119
+ @conditionalTest.state.repetition_capture
120
+ @conditionalTest.rewind_state
121
+ @conditionalTest.rewind_state
122
+ expect(@conditionalTest.state)
123
+ .to be_instance_of(StateMachine::OOStructuredFSM::ConditionalState)
124
+ end
125
+
126
+ end
127
+
64
128
  context "Incorrect flow." do
65
129
  it "Try to access IdleState, to ConditionalState." do
66
130
  expect{@conditionalTest.state.conditional_capture}
@@ -37,7 +37,7 @@ RSpec.describe StateMachine::OOStructuredFSM::IncludeState do
37
37
 
38
38
  it "Include state, and capture require." do
39
39
  @rubyTest.state.include_capture
40
- fileElement = Languages::FileElement.new("test_spec")
40
+ fileElement = Languages::FileElementData.new("test_spec")
41
41
  @rubyTest.state.execute(fileElement, "require_relative 'test_file.rb'")
42
42
  expect(@rubyTest.state)
43
43
  .to be_instance_of(StateMachine::OOStructuredFSM::IdleState)
@@ -45,10 +45,10 @@ RSpec.describe StateMachine::OOStructuredFSM::IncludeState do
45
45
 
46
46
  it "Include state, and returned value" do
47
47
  @rubyTest.state.include_capture
48
- fileElement = Languages::FileElement.new("test_spec")
48
+ fileElement = Languages::FileElementData.new("test_spec")
49
49
  fileElement = @rubyTest.state.execute(fileElement,
50
50
  "require_relative 'test.rb'")
51
- expect(fileElement.extern_requirements[0].name).to eq ("test")
51
+ expect(fileElement.extern_requirements[0].library).to eq ("test")
52
52
  expect(@rubyTest.state)
53
53
  .to be_instance_of(StateMachine::OOStructuredFSM::IdleState)
54
54
  end
@@ -23,6 +23,24 @@ RSpec.describe StateMachine::OOStructuredFSM::MethodState do
23
23
  .to be_instance_of(StateMachine::OOStructuredFSM::ClassState)
24
24
  end
25
25
 
26
+ it "Method to aggregation" do
27
+ @rubyTest.class_capture
28
+ @rubyTest.method_capture
29
+ @rubyTest.aggregation_capture
30
+ expect(@rubyTest.state)
31
+ .to be_instance_of(StateMachine::OOStructuredFSM::AggregationState)
32
+ end
33
+
34
+ it "Aggregation to method" do
35
+ @rubyTest.class_capture
36
+ @rubyTest.method_capture
37
+ @rubyTest.aggregation_capture
38
+ @rubyTest.class_capture
39
+ expect(@rubyTest.state)
40
+ .to be_instance_of(StateMachine::OOStructuredFSM::MethodState)
41
+ end
42
+
43
+
26
44
  end
27
45
 
28
46
  context "Incorrect flow." do
@@ -61,6 +61,33 @@ RSpec.describe StateMachine::OOStructuredFSM::RepetitionState do
61
61
  end
62
62
  end
63
63
 
64
+ context "Repetition to conditional and vice versa" do
65
+ it "Loops to conditional" do
66
+ @repetitionTest.state.function_capture
67
+ @repetitionTest.state.repetition_capture
68
+ @repetitionTest.state.repetition_capture
69
+ @repetitionTest.state.repetition_capture
70
+ @repetitionTest.state.conditional_capture
71
+ @repetitionTest.state.conditional_capture
72
+ expect(@repetitionTest.state)
73
+ .to be_instance_of(StateMachine::OOStructuredFSM::ConditionalState)
74
+ end
75
+
76
+ it "Loops to conditional" do
77
+ @repetitionTest.state.function_capture
78
+ @repetitionTest.state.repetition_capture
79
+ @repetitionTest.state.repetition_capture
80
+ @repetitionTest.state.repetition_capture
81
+ @repetitionTest.state.conditional_capture
82
+ @repetitionTest.state.conditional_capture
83
+ @repetitionTest.rewind_state
84
+ @repetitionTest.rewind_state
85
+ expect(@repetitionTest.state)
86
+ .to be_instance_of(StateMachine::OOStructuredFSM::RepetitionState)
87
+ end
88
+
89
+ end
90
+
64
91
  context "Incorrect flow." do
65
92
  it "Try to access IdleState, to ConditionalState." do
66
93
  expect{@repetitionTest.state.repetition_capture}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuniri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Jaruga
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-03 00:00:00.000000000 Z
12
+ date: 2016-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -26,37 +26,37 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: rake
29
+ name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '10.0'
34
+ version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '10.0'
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: nokogiri
43
+ name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 1.6.6
49
- type: :runtime
48
+ version: '10.0'
49
+ type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 1.6.6
55
+ version: '10.0'
56
56
  description: Generic parser
57
57
  email:
58
58
  - darksshades@hotmail.com
59
- - rodrigosiqueiramelo@gmail.com
59
+ - siqueira@kuniri.org
60
60
  executables:
61
61
  - kuniri
62
62
  extensions: []
@@ -72,54 +72,65 @@ files:
72
72
  - README.md
73
73
  - Rakefile
74
74
  - bin/kuniri
75
+ - data/aggregation_lang.rb
75
76
  - data/attribute_lang.rb
76
77
  - data/class_lang.rb
78
+ - data/comment_lang.rb
77
79
  - data/conditional_lang.rb
78
80
  - data/constructor_lang.rb
79
81
  - data/end_block_lang.rb
80
82
  - data/extern_requirement_lang.rb
81
83
  - data/function_behavior_lang.rb
84
+ - data/global_function_lang.rb
82
85
  - data/lang_syntax.rb
86
+ - data/method_lang.rb
83
87
  - data/module_namespace_lang.rb
84
88
  - data/repetition_lang.rb
85
89
  - data/token_lang.rb
90
+ - data/variable_behaviour_lang.rb
86
91
  - data/variable_global_lang.rb
87
92
  - kuniri.gemspec
88
93
  - lib/kuniri.rb
89
94
  - lib/kuniri/core/configuration/language_available.rb
90
95
  - lib/kuniri/core/configuration/log_available.rb
91
- - lib/kuniri/core/configuration/monitor_available.rb
92
96
  - lib/kuniri/core/kuniri.rb
93
97
  - lib/kuniri/core/setting.rb
94
98
  - lib/kuniri/error/configuration_file_error.rb
95
99
  - lib/kuniri/error/language_error.rb
100
+ - lib/kuniri/error/parser_error.rb
101
+ - lib/kuniri/language/abstract_container/structured_and_oo/aggregation.rb
96
102
  - lib/kuniri/language/abstract_container/structured_and_oo/attribute.rb
97
103
  - lib/kuniri/language/abstract_container/structured_and_oo/class.rb
98
104
  - lib/kuniri/language/abstract_container/structured_and_oo/comment.rb
99
105
  - lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb
100
- - lib/kuniri/language/abstract_container/structured_and_oo/constructor.rb
101
106
  - lib/kuniri/language/abstract_container/structured_and_oo/end_block.rb
102
107
  - lib/kuniri/language/abstract_container/structured_and_oo/extern_requirement.rb
103
108
  - lib/kuniri/language/abstract_container/structured_and_oo/function_behavior.rb
109
+ - lib/kuniri/language/abstract_container/structured_and_oo/global_tokens.rb
104
110
  - lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb
105
111
  - lib/kuniri/language/abstract_container/structured_and_oo/repetition.rb
106
112
  - lib/kuniri/language/abstract_container/structured_and_oo/variable_behaviour.rb
107
113
  - lib/kuniri/language/abstract_container/structured_and_oo/variable_global.rb
114
+ - lib/kuniri/language/container_data/structured_and_oo/aggregation_data.rb
108
115
  - lib/kuniri/language/container_data/structured_and_oo/attribute_data.rb
109
116
  - lib/kuniri/language/container_data/structured_and_oo/basic_data.rb
117
+ - lib/kuniri/language/container_data/structured_and_oo/basic_structure.rb
110
118
  - lib/kuniri/language/container_data/structured_and_oo/class_data.rb
111
119
  - lib/kuniri/language/container_data/structured_and_oo/conditional_data.rb
112
120
  - lib/kuniri/language/container_data/structured_and_oo/constructor_data.rb
113
121
  - lib/kuniri/language/container_data/structured_and_oo/extern_requirement_data.rb
114
- - lib/kuniri/language/container_data/structured_and_oo/file_element.rb
122
+ - lib/kuniri/language/container_data/structured_and_oo/file_element_data.rb
115
123
  - lib/kuniri/language/container_data/structured_and_oo/function_abstract.rb
116
124
  - lib/kuniri/language/container_data/structured_and_oo/function_data.rb
125
+ - lib/kuniri/language/container_data/structured_and_oo/manager_basic_structure_data.rb
117
126
  - lib/kuniri/language/container_data/structured_and_oo/method_data.rb
118
127
  - lib/kuniri/language/container_data/structured_and_oo/module_namespace_data.rb
119
128
  - lib/kuniri/language/container_data/structured_and_oo/repetition_data.rb
120
129
  - lib/kuniri/language/container_data/structured_and_oo/variable_global_data.rb
121
130
  - lib/kuniri/language/language.rb
122
131
  - lib/kuniri/language/language_factory.rb
132
+ - lib/kuniri/language/metadata.rb
133
+ - lib/kuniri/language/ruby/aggregation_ruby.rb
123
134
  - lib/kuniri/language/ruby/attribute_ruby.rb
124
135
  - lib/kuniri/language/ruby/class_ruby.rb
125
136
  - lib/kuniri/language/ruby/comment_ruby.rb
@@ -128,19 +139,27 @@ files:
128
139
  - lib/kuniri/language/ruby/end_block_ruby.rb
129
140
  - lib/kuniri/language/ruby/extern_requirement_ruby.rb
130
141
  - lib/kuniri/language/ruby/function_behavior_ruby.rb
142
+ - lib/kuniri/language/ruby/global_function_ruby.rb
143
+ - lib/kuniri/language/ruby/method_ruby.rb
131
144
  - lib/kuniri/language/ruby/module_namespace_ruby.rb
132
145
  - lib/kuniri/language/ruby/repetition_ruby.rb
133
146
  - lib/kuniri/language/ruby/ruby_syntax.rb
134
147
  - lib/kuniri/language/ruby/token_ruby.rb
135
148
  - lib/kuniri/language/ruby/variable_behaviour_ruby.rb
136
149
  - lib/kuniri/language/ruby/variable_global_ruby.rb
150
+ - lib/kuniri/parser/output_factory.rb
151
+ - lib/kuniri/parser/output_format.rb
137
152
  - lib/kuniri/parser/parser.rb
138
- - lib/kuniri/parser/parser_xml.rb
153
+ - lib/kuniri/parser/xml_builder_engine.rb
154
+ - lib/kuniri/parser/xml_output_format.rb
155
+ - lib/kuniri/state_machine/OO_structured_fsm/aggregation_state.rb
139
156
  - lib/kuniri/state_machine/OO_structured_fsm/attribute_state.rb
157
+ - lib/kuniri/state_machine/OO_structured_fsm/basic_structure_state.rb
140
158
  - lib/kuniri/state_machine/OO_structured_fsm/class_state.rb
141
159
  - lib/kuniri/state_machine/OO_structured_fsm/comment_state.rb
142
160
  - lib/kuniri/state_machine/OO_structured_fsm/conditional_state.rb
143
161
  - lib/kuniri/state_machine/OO_structured_fsm/constructor_state.rb
162
+ - lib/kuniri/state_machine/OO_structured_fsm/function_behaviour_state.rb
144
163
  - lib/kuniri/state_machine/OO_structured_fsm/function_state.rb
145
164
  - lib/kuniri/state_machine/OO_structured_fsm/idle_state.rb
146
165
  - lib/kuniri/state_machine/OO_structured_fsm/include_state.rb
@@ -157,60 +176,137 @@ files:
157
176
  - other/analyseFile.asta
158
177
  - spec/core/kuniri_spec.rb
159
178
  - spec/core/setting_spec.rb
179
+ - spec/language/abstract_container/aggregation_spec.rb
160
180
  - spec/language/abstract_container/attribute_spec.rb
161
181
  - spec/language/abstract_container/class_spec.rb
162
182
  - spec/language/abstract_container/comment_spec.rb
163
183
  - spec/language/abstract_container/conditional_spec.rb
164
- - spec/language/abstract_container/constructor_spec.rb
165
184
  - spec/language/abstract_container/end_block_spec.rb
185
+ - spec/language/abstract_container/extern_requirement_spec.rb
166
186
  - spec/language/abstract_container/module_namespace_spec.rb
167
187
  - spec/language/abstract_container/repetition_spec.rb
188
+ - spec/language/container_data/structured_and_oo/aggregation_data_spec.rb
168
189
  - spec/language/container_data/structured_and_oo/attribute_data_spec.rb
169
190
  - spec/language/container_data/structured_and_oo/class_data_spec.rb
170
191
  - spec/language/container_data/structured_and_oo/conditional_data_spec.rb
171
192
  - spec/language/container_data/structured_and_oo/constructor_data_spec.rb
172
193
  - spec/language/container_data/structured_and_oo/extern_requirement_data_spec.rb
173
- - spec/language/container_data/structured_and_oo/file_element_spec.rb
194
+ - spec/language/container_data/structured_and_oo/file_element_data_spec.rb
195
+ - spec/language/container_data/structured_and_oo/function_abstract_spec.rb
174
196
  - spec/language/container_data/structured_and_oo/function_data_spec.rb
197
+ - spec/language/container_data/structured_and_oo/manager_basic_structure_data_spec.rb
198
+ - spec/language/container_data/structured_and_oo/method_data_spec.rb
175
199
  - spec/language/container_data/structured_and_oo/module_namespace_spec.rb
176
200
  - spec/language/container_data/structured_and_oo/repetition_data_spec.rb
177
201
  - spec/language/container_data/structured_and_oo/variable_global_data_spec.rb
178
202
  - spec/language/language_factory_spec.rb
179
203
  - spec/language/language_spec.rb
204
+ - spec/language/ruby/aggregation_ruby_spec.rb
180
205
  - spec/language/ruby/attribute_ruby_spec.rb
181
206
  - spec/language/ruby/class_ruby_spec.rb
182
207
  - spec/language/ruby/comment_ruby_spec.rb
183
208
  - spec/language/ruby/conditional_ruby_spec.rb
184
209
  - spec/language/ruby/constructor_ruby_spec.rb
185
210
  - spec/language/ruby/end_block_ruby_spec.rb
211
+ - spec/language/ruby/extern_requirement_ruby_spec.rb
186
212
  - spec/language/ruby/function_behavior_ruby_spec.rb
213
+ - spec/language/ruby/global_test/.kuniri.yml
214
+ - spec/language/ruby/global_test/complete_class_ruby_spec.rb
215
+ - spec/language/ruby/global_test/conditional/.kuniri.yml
216
+ - spec/language/ruby/global_test/conditional/.kuniri1.yml
217
+ - spec/language/ruby/global_test/conditional/.kuniri2.yml
218
+ - spec/language/ruby/global_test/conditional/.kuniri3.yml
219
+ - spec/language/ruby/global_test/conditional/.kuniri4.yml
220
+ - spec/language/ruby/global_test/conditional/.kuniri5.yml
221
+ - spec/language/ruby/global_test/conditional/.kuniri6.yml
222
+ - spec/language/ruby/global_test/conditional/a_lot_of_conditionals_spec.rb
223
+ - spec/language/ruby/global_test/conditional/constructor_very_mix_conditional_spec.rb
224
+ - spec/language/ruby/global_test/conditional/function_with_conditional_spec.rb
225
+ - spec/language/ruby/global_test/conditional/function_with_nested_conditional_spec.rb
226
+ - spec/language/ruby/global_test/conditional/method_very_mix_conditional_spec.rb
227
+ - spec/language/ruby/global_test/conditional/very_deep_conditional_structure_spec.rb
228
+ - spec/language/ruby/global_test/conditional/very_mix_conditional_spec.rb
229
+ - spec/language/ruby/global_test/conditionalAndRepetition/.kuniri.yml
230
+ - spec/language/ruby/global_test/conditionalAndRepetition/mix_conditional_repetition_spec.rb
231
+ - spec/language/ruby/global_test/repetition/.kuniri.yml
232
+ - spec/language/ruby/global_test/repetition/.kuniri2.yml
233
+ - spec/language/ruby/global_test/repetition/.kuniri3.yml
234
+ - spec/language/ruby/global_test/repetition/.kuniri4.yml
235
+ - spec/language/ruby/global_test/repetition/.kuniri5.yml
236
+ - spec/language/ruby/global_test/repetition/.kuniri6.yml
237
+ - spec/language/ruby/global_test/repetition/.kuniri7.yml
238
+ - spec/language/ruby/global_test/repetition/.kuniri8.yml
239
+ - spec/language/ruby/global_test/repetition/complete_class_integrity.rb
240
+ - spec/language/ruby/global_test/repetition/complete_class_until_loop_spec.rb
241
+ - spec/language/ruby/global_test/repetition/complete_class_while_loop_spec.rb
242
+ - spec/language/ruby/global_test/repetition/complete_class_with_repetition_spec.rb
243
+ - spec/language/ruby/global_test/repetition/constructor_with_mix_repetition_spec.rb
244
+ - spec/language/ruby/global_test/repetition/method_with_mix_repetition_spec.rb
245
+ - spec/language/ruby/global_test/repetition/very_mix_repetition_spec.rb
246
+ - spec/language/ruby/global_test/repetition/very_nested_repetition_spec.rb
247
+ - spec/language/ruby/method_ruby_spec.rb
187
248
  - spec/language/ruby/module_namespace_ruby_spec.rb
188
249
  - spec/language/ruby/repetition_ruby_spec.rb
189
250
  - spec/language/ruby/ruby_syntax_spec.rb
190
251
  - spec/language/ruby/variable_ruby_spec.rb
252
+ - spec/parser/output_factory_spec.rb
253
+ - spec/parser/output_format_spec.rb
191
254
  - spec/parser/parser_spec.rb
255
+ - spec/parser/xmlSchemaValidate/.kuniri1.yml
256
+ - spec/parser/xmlSchemaValidate/.kuniri2.yml
257
+ - spec/parser/xmlSchemaValidate/.kuniri3.yml
258
+ - spec/parser/xmlSchemaValidate/class_data.xsd
259
+ - spec/parser/xmlSchemaValidate/fullCodeTwo.xsd
260
+ - spec/parser/xmlSchemaValidate/fullCodeWithComments.xsd
261
+ - spec/parser/xmlSchemaValidate/simpleFunction.xsd
262
+ - spec/parser/xmlSchemaValidate/validate_xml_spec.rb
263
+ - spec/parser/xml_builder_engine_spec.rb
264
+ - spec/parser/xml_output_format_spec.rb
265
+ - spec/samples/rubySyntaxParts/aggregation/classAggregation.rb
266
+ - spec/samples/rubySyntaxParts/aggregation/constructorAggregation.rb
267
+ - spec/samples/rubySyntaxParts/aggregation/methodAggregation.rb
268
+ - spec/samples/rubySyntaxParts/aggregation/multipleAggregation.rb
192
269
  - spec/samples/rubySyntaxParts/attribute/simpleAttribute.rb
193
270
  - spec/samples/rubySyntaxParts/class/simpleClass.rb
194
271
  - spec/samples/rubySyntaxParts/comment/simple_multiple_line_comment_class.rb
195
272
  - spec/samples/rubySyntaxParts/comment/simple_multiple_line_comment_global.rb
196
273
  - spec/samples/rubySyntaxParts/comment/simple_single_line_comment_class.rb
197
274
  - spec/samples/rubySyntaxParts/comment/simple_single_line_comment_global.rb
275
+ - spec/samples/rubySyntaxParts/conditionalStatment/aLotOfConditionals.rb
276
+ - spec/samples/rubySyntaxParts/conditionalStatment/commonCasesOfConditionals.rb
198
277
  - spec/samples/rubySyntaxParts/conditionalStatment/constructorConditional.rb
278
+ - spec/samples/rubySyntaxParts/conditionalStatment/constructorMixConditional.rb
199
279
  - spec/samples/rubySyntaxParts/conditionalStatment/methodConditional.rb
280
+ - spec/samples/rubySyntaxParts/conditionalStatment/methodMixConditional.rb
281
+ - spec/samples/rubySyntaxParts/conditionalStatment/mixConditionalWithRepetition.rb
200
282
  - spec/samples/rubySyntaxParts/conditionalStatment/nestedConditional.rb
201
283
  - spec/samples/rubySyntaxParts/conditionalStatment/simpleConditional.rb
284
+ - spec/samples/rubySyntaxParts/conditionalStatment/veryDeepConditionalStructure.rb
285
+ - spec/samples/rubySyntaxParts/conditionalStatment/veryMixConditional.rb
202
286
  - spec/samples/rubySyntaxParts/constructor/simpleConstructor.rb
203
287
  - spec/samples/rubySyntaxParts/extern/multipleLineExternRequirement.rb
204
288
  - spec/samples/rubySyntaxParts/extern/requireRelative.rb
205
289
  - spec/samples/rubySyntaxParts/extern/simpleExternRequirement.rb
290
+ - spec/samples/rubySyntaxParts/fullCode/fullCodeTwo.rb
291
+ - spec/samples/rubySyntaxParts/fullCode/fullCodeWithComments.rb
206
292
  - spec/samples/rubySyntaxParts/fullCode/simpleCodeWithConditional.rb
207
293
  - spec/samples/rubySyntaxParts/fullCode/simpleFullCode.rb
208
294
  - spec/samples/rubySyntaxParts/function/simpleFunction.rb
209
295
  - spec/samples/rubySyntaxParts/method/simpleMethod.rb
210
296
  - spec/samples/rubySyntaxParts/module/simpleModule.rb
297
+ - spec/samples/rubySyntaxParts/repetition/beginWithWhileLoopInClass.rb
298
+ - spec/samples/rubySyntaxParts/repetition/constructorWithMixRepetition.rb
299
+ - spec/samples/rubySyntaxParts/repetition/forLoopInClass.rb
300
+ - spec/samples/rubySyntaxParts/repetition/methodWithMixRepetition.rb
301
+ - spec/samples/rubySyntaxParts/repetition/mixConditionalRepetition.rb
211
302
  - spec/samples/rubySyntaxParts/repetition/simpleRepetition.rb
303
+ - spec/samples/rubySyntaxParts/repetition/untilLoopInClass.rb
304
+ - spec/samples/rubySyntaxParts/repetition/veryMixRepetition.rb
305
+ - spec/samples/rubySyntaxParts/repetition/veryNestedRepetition.rb
306
+ - spec/samples/rubySyntaxParts/repetition/whileLoopInClass.rb
212
307
  - spec/samples/rubySyntaxParts/variable/simpleVariable.rb
213
308
  - spec/spec_helper.rb
309
+ - spec/state_machine/OO_structured_fsm/aggregation_state_spec.rb
214
310
  - spec/state_machine/OO_structured_fsm/attribute_state_spec.rb
215
311
  - spec/state_machine/OO_structured_fsm/class_state_spec.rb
216
312
  - spec/state_machine/OO_structured_fsm/comment_state_spec.rb
@@ -224,12 +320,9 @@ files:
224
320
  - spec/state_machine/OO_structured_fsm/oo_structured_state_spec.rb
225
321
  - spec/state_machine/OO_structured_fsm/repetition_state_spec.rb
226
322
  - spec/state_machine/OO_structured_fsm/variable_state_spec.rb
227
- - spec/util/html_logger_spec.rb
228
- - spec/util/logger_spec.rb
229
- - spec/util/txt_logger_spec.rb
230
323
  homepage: http://kuniri.github.io/kuniri/
231
324
  licenses:
232
- - GPLv3
325
+ - LGPLv3
233
326
  metadata: {}
234
327
  post_install_message:
235
328
  rdoc_options: []
@@ -247,67 +340,144 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
340
  version: '0'
248
341
  requirements: []
249
342
  rubyforge_project:
250
- rubygems_version: 2.2.2
343
+ rubygems_version: 2.5.1
251
344
  signing_key:
252
345
  specification_version: 4
253
346
  summary: Extract class information from code.
254
347
  test_files:
255
348
  - spec/core/kuniri_spec.rb
256
349
  - spec/core/setting_spec.rb
350
+ - spec/language/abstract_container/aggregation_spec.rb
257
351
  - spec/language/abstract_container/attribute_spec.rb
258
352
  - spec/language/abstract_container/class_spec.rb
259
353
  - spec/language/abstract_container/comment_spec.rb
260
354
  - spec/language/abstract_container/conditional_spec.rb
261
- - spec/language/abstract_container/constructor_spec.rb
262
355
  - spec/language/abstract_container/end_block_spec.rb
356
+ - spec/language/abstract_container/extern_requirement_spec.rb
263
357
  - spec/language/abstract_container/module_namespace_spec.rb
264
358
  - spec/language/abstract_container/repetition_spec.rb
359
+ - spec/language/container_data/structured_and_oo/aggregation_data_spec.rb
265
360
  - spec/language/container_data/structured_and_oo/attribute_data_spec.rb
266
361
  - spec/language/container_data/structured_and_oo/class_data_spec.rb
267
362
  - spec/language/container_data/structured_and_oo/conditional_data_spec.rb
268
363
  - spec/language/container_data/structured_and_oo/constructor_data_spec.rb
269
364
  - spec/language/container_data/structured_and_oo/extern_requirement_data_spec.rb
270
- - spec/language/container_data/structured_and_oo/file_element_spec.rb
365
+ - spec/language/container_data/structured_and_oo/file_element_data_spec.rb
366
+ - spec/language/container_data/structured_and_oo/function_abstract_spec.rb
271
367
  - spec/language/container_data/structured_and_oo/function_data_spec.rb
368
+ - spec/language/container_data/structured_and_oo/manager_basic_structure_data_spec.rb
369
+ - spec/language/container_data/structured_and_oo/method_data_spec.rb
272
370
  - spec/language/container_data/structured_and_oo/module_namespace_spec.rb
273
371
  - spec/language/container_data/structured_and_oo/repetition_data_spec.rb
274
372
  - spec/language/container_data/structured_and_oo/variable_global_data_spec.rb
275
373
  - spec/language/language_factory_spec.rb
276
374
  - spec/language/language_spec.rb
375
+ - spec/language/ruby/aggregation_ruby_spec.rb
277
376
  - spec/language/ruby/attribute_ruby_spec.rb
278
377
  - spec/language/ruby/class_ruby_spec.rb
279
378
  - spec/language/ruby/comment_ruby_spec.rb
280
379
  - spec/language/ruby/conditional_ruby_spec.rb
281
380
  - spec/language/ruby/constructor_ruby_spec.rb
282
381
  - spec/language/ruby/end_block_ruby_spec.rb
382
+ - spec/language/ruby/extern_requirement_ruby_spec.rb
283
383
  - spec/language/ruby/function_behavior_ruby_spec.rb
384
+ - spec/language/ruby/global_test/.kuniri.yml
385
+ - spec/language/ruby/global_test/complete_class_ruby_spec.rb
386
+ - spec/language/ruby/global_test/conditional/.kuniri.yml
387
+ - spec/language/ruby/global_test/conditional/.kuniri1.yml
388
+ - spec/language/ruby/global_test/conditional/.kuniri2.yml
389
+ - spec/language/ruby/global_test/conditional/.kuniri3.yml
390
+ - spec/language/ruby/global_test/conditional/.kuniri4.yml
391
+ - spec/language/ruby/global_test/conditional/.kuniri5.yml
392
+ - spec/language/ruby/global_test/conditional/.kuniri6.yml
393
+ - spec/language/ruby/global_test/conditional/a_lot_of_conditionals_spec.rb
394
+ - spec/language/ruby/global_test/conditional/constructor_very_mix_conditional_spec.rb
395
+ - spec/language/ruby/global_test/conditional/function_with_conditional_spec.rb
396
+ - spec/language/ruby/global_test/conditional/function_with_nested_conditional_spec.rb
397
+ - spec/language/ruby/global_test/conditional/method_very_mix_conditional_spec.rb
398
+ - spec/language/ruby/global_test/conditional/very_deep_conditional_structure_spec.rb
399
+ - spec/language/ruby/global_test/conditional/very_mix_conditional_spec.rb
400
+ - spec/language/ruby/global_test/conditionalAndRepetition/.kuniri.yml
401
+ - spec/language/ruby/global_test/conditionalAndRepetition/mix_conditional_repetition_spec.rb
402
+ - spec/language/ruby/global_test/repetition/.kuniri.yml
403
+ - spec/language/ruby/global_test/repetition/.kuniri2.yml
404
+ - spec/language/ruby/global_test/repetition/.kuniri3.yml
405
+ - spec/language/ruby/global_test/repetition/.kuniri4.yml
406
+ - spec/language/ruby/global_test/repetition/.kuniri5.yml
407
+ - spec/language/ruby/global_test/repetition/.kuniri6.yml
408
+ - spec/language/ruby/global_test/repetition/.kuniri7.yml
409
+ - spec/language/ruby/global_test/repetition/.kuniri8.yml
410
+ - spec/language/ruby/global_test/repetition/complete_class_integrity.rb
411
+ - spec/language/ruby/global_test/repetition/complete_class_until_loop_spec.rb
412
+ - spec/language/ruby/global_test/repetition/complete_class_while_loop_spec.rb
413
+ - spec/language/ruby/global_test/repetition/complete_class_with_repetition_spec.rb
414
+ - spec/language/ruby/global_test/repetition/constructor_with_mix_repetition_spec.rb
415
+ - spec/language/ruby/global_test/repetition/method_with_mix_repetition_spec.rb
416
+ - spec/language/ruby/global_test/repetition/very_mix_repetition_spec.rb
417
+ - spec/language/ruby/global_test/repetition/very_nested_repetition_spec.rb
418
+ - spec/language/ruby/method_ruby_spec.rb
284
419
  - spec/language/ruby/module_namespace_ruby_spec.rb
285
420
  - spec/language/ruby/repetition_ruby_spec.rb
286
421
  - spec/language/ruby/ruby_syntax_spec.rb
287
422
  - spec/language/ruby/variable_ruby_spec.rb
423
+ - spec/parser/output_factory_spec.rb
424
+ - spec/parser/output_format_spec.rb
288
425
  - spec/parser/parser_spec.rb
426
+ - spec/parser/xmlSchemaValidate/.kuniri1.yml
427
+ - spec/parser/xmlSchemaValidate/.kuniri2.yml
428
+ - spec/parser/xmlSchemaValidate/.kuniri3.yml
429
+ - spec/parser/xmlSchemaValidate/class_data.xsd
430
+ - spec/parser/xmlSchemaValidate/fullCodeTwo.xsd
431
+ - spec/parser/xmlSchemaValidate/fullCodeWithComments.xsd
432
+ - spec/parser/xmlSchemaValidate/simpleFunction.xsd
433
+ - spec/parser/xmlSchemaValidate/validate_xml_spec.rb
434
+ - spec/parser/xml_builder_engine_spec.rb
435
+ - spec/parser/xml_output_format_spec.rb
436
+ - spec/samples/rubySyntaxParts/aggregation/classAggregation.rb
437
+ - spec/samples/rubySyntaxParts/aggregation/constructorAggregation.rb
438
+ - spec/samples/rubySyntaxParts/aggregation/methodAggregation.rb
439
+ - spec/samples/rubySyntaxParts/aggregation/multipleAggregation.rb
289
440
  - spec/samples/rubySyntaxParts/attribute/simpleAttribute.rb
290
441
  - spec/samples/rubySyntaxParts/class/simpleClass.rb
291
442
  - spec/samples/rubySyntaxParts/comment/simple_multiple_line_comment_class.rb
292
443
  - spec/samples/rubySyntaxParts/comment/simple_multiple_line_comment_global.rb
293
444
  - spec/samples/rubySyntaxParts/comment/simple_single_line_comment_class.rb
294
445
  - spec/samples/rubySyntaxParts/comment/simple_single_line_comment_global.rb
446
+ - spec/samples/rubySyntaxParts/conditionalStatment/aLotOfConditionals.rb
447
+ - spec/samples/rubySyntaxParts/conditionalStatment/commonCasesOfConditionals.rb
295
448
  - spec/samples/rubySyntaxParts/conditionalStatment/constructorConditional.rb
449
+ - spec/samples/rubySyntaxParts/conditionalStatment/constructorMixConditional.rb
296
450
  - spec/samples/rubySyntaxParts/conditionalStatment/methodConditional.rb
451
+ - spec/samples/rubySyntaxParts/conditionalStatment/methodMixConditional.rb
452
+ - spec/samples/rubySyntaxParts/conditionalStatment/mixConditionalWithRepetition.rb
297
453
  - spec/samples/rubySyntaxParts/conditionalStatment/nestedConditional.rb
298
454
  - spec/samples/rubySyntaxParts/conditionalStatment/simpleConditional.rb
455
+ - spec/samples/rubySyntaxParts/conditionalStatment/veryDeepConditionalStructure.rb
456
+ - spec/samples/rubySyntaxParts/conditionalStatment/veryMixConditional.rb
299
457
  - spec/samples/rubySyntaxParts/constructor/simpleConstructor.rb
300
458
  - spec/samples/rubySyntaxParts/extern/multipleLineExternRequirement.rb
301
459
  - spec/samples/rubySyntaxParts/extern/requireRelative.rb
302
460
  - spec/samples/rubySyntaxParts/extern/simpleExternRequirement.rb
461
+ - spec/samples/rubySyntaxParts/fullCode/fullCodeTwo.rb
462
+ - spec/samples/rubySyntaxParts/fullCode/fullCodeWithComments.rb
303
463
  - spec/samples/rubySyntaxParts/fullCode/simpleCodeWithConditional.rb
304
464
  - spec/samples/rubySyntaxParts/fullCode/simpleFullCode.rb
305
465
  - spec/samples/rubySyntaxParts/function/simpleFunction.rb
306
466
  - spec/samples/rubySyntaxParts/method/simpleMethod.rb
307
467
  - spec/samples/rubySyntaxParts/module/simpleModule.rb
468
+ - spec/samples/rubySyntaxParts/repetition/beginWithWhileLoopInClass.rb
469
+ - spec/samples/rubySyntaxParts/repetition/constructorWithMixRepetition.rb
470
+ - spec/samples/rubySyntaxParts/repetition/forLoopInClass.rb
471
+ - spec/samples/rubySyntaxParts/repetition/methodWithMixRepetition.rb
472
+ - spec/samples/rubySyntaxParts/repetition/mixConditionalRepetition.rb
308
473
  - spec/samples/rubySyntaxParts/repetition/simpleRepetition.rb
474
+ - spec/samples/rubySyntaxParts/repetition/untilLoopInClass.rb
475
+ - spec/samples/rubySyntaxParts/repetition/veryMixRepetition.rb
476
+ - spec/samples/rubySyntaxParts/repetition/veryNestedRepetition.rb
477
+ - spec/samples/rubySyntaxParts/repetition/whileLoopInClass.rb
309
478
  - spec/samples/rubySyntaxParts/variable/simpleVariable.rb
310
479
  - spec/spec_helper.rb
480
+ - spec/state_machine/OO_structured_fsm/aggregation_state_spec.rb
311
481
  - spec/state_machine/OO_structured_fsm/attribute_state_spec.rb
312
482
  - spec/state_machine/OO_structured_fsm/class_state_spec.rb
313
483
  - spec/state_machine/OO_structured_fsm/comment_state_spec.rb
@@ -321,6 +491,3 @@ test_files:
321
491
  - spec/state_machine/OO_structured_fsm/oo_structured_state_spec.rb
322
492
  - spec/state_machine/OO_structured_fsm/repetition_state_spec.rb
323
493
  - spec/state_machine/OO_structured_fsm/variable_state_spec.rb
324
- - spec/util/html_logger_spec.rb
325
- - spec/util/logger_spec.rb
326
- - spec/util/txt_logger_spec.rb