Class: RSpock::AST::TestNode
- Inherits:
-
ASTTransform::Node
- Object
- ASTTransform::Node
- RSpock::AST::TestNode
- Defined in:
- lib/rspock/ast/node.rb
Overview
RSpock's intermediate representation: custom node types registered on ASTTransform::Node, so
s(:rspock_*, ...) constructs these classes with their domain accessors. They exist only between the parser
and TestMethodTransformation — the transformation lowers every one of them to plain Ruby nodes before
emission.
Instance Method Summary collapse
Instance Method Details
#body_node ⇒ Object
14 |
# File 'lib/rspock/ast/node.rb', line 14 def body_node = children[1] |
#def_node ⇒ Object
13 |
# File 'lib/rspock/ast/node.rb', line 13 def def_node = children[0] |
#where_node ⇒ Object
15 |
# File 'lib/rspock/ast/node.rb', line 15 def where_node = children[2] |