Class: Ruby::Call
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Node::Composite
Instance Method Summary collapse
-
#initialize(target, separator, identifier, arguments = nil, block = nil) ⇒ Call
constructor
A new instance of Call.
- #nodes ⇒ Object
- #token ⇒ Object
Methods inherited from Aggregate
#position, #position=, #prolog, #prolog=, #to_ruby
Methods inherited from Node
#<=>, #all_nodes, #column, #length, #row
Methods included from Conversions
Methods included from Node::Traversal
#has_token?, #has_type?, #has_value?, #is_instance_of?, #left_of?, #matches?, #position?, #right_of?, #select
Methods included from Node::Source
#context, #filename, #line, #lines, #src
Methods included from Node::Composite
Constructor Details
#initialize(target, separator, identifier, arguments = nil, block = nil) ⇒ Call
Returns a new instance of Call.
7 8 9 10 11 12 13 |
# File 'lib/ruby/call.rb', line 7 def initialize(target, separator, identifier, arguments = nil, block = nil) self.target = target self.separator = separator self.identifier = identifier self.arguments = arguments self.block = block end |