Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e0be579

Browse files
committed
More documentation in the test helper
1 parent 4963ad5 commit e0be579

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
require "syntax_tree"
1212
require "syntax_tree/cli"
1313

14+
# Here we are going to establish type verification whenever a new node is
15+
# created. We do this through the reflection module, which in turn parses the
16+
# source code of the node classes.
1417
require "syntax_tree/reflection"
15-
1618
SyntaxTree::Reflection.nodes.each do |name, node|
1719
next if name == :Statements
1820

0 commit comments

Comments
 (0)