Class: Duby::AST::Argument
- Includes:
- Typed
- Defined in:
- lib/duby/ast/method.rb
Direct Known Subclasses
BlockArgument, OptionalArgument, RequiredArgument, RestArgument
Instance Attribute Summary
Attributes included from Typed
Attributes inherited from Node
#children, #inferred_type, #newline, #parent, #position
Instance Method Summary collapse
Methods inherited from Node
#<<, ===, #[], #_set_parent, child, child_name, #each, #empty?, #expr?, #initialize, #initialize_copy, #insert, #inspect, #line_number, #log, #precompile, #resolve_if, #resolved?, #simple_name, #temp, #to_s
Constructor Details
This class inherits a constructor from Duby::AST::Node
Instance Method Details
#resolved!(typer) ⇒ Object
28 29 30 31 |
# File 'lib/duby/ast/method.rb', line 28 def resolved!(typer) typer.learn_local_type(containing_scope, name, @inferred_type) super end |