Class: Seaquel::AST::Funcall
- Inherits:
-
Expression
- Object
- Expression
- Seaquel::AST::Funcall
- Defined in:
- lib/seaquel/ast/funcall.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, args) ⇒ Funcall
constructor
A new instance of Funcall.
- #visit(visitor) ⇒ Object
Methods inherited from Expression
Constructor Details
#initialize(name, args) ⇒ Funcall
Returns a new instance of Funcall.
8 9 10 11 |
# File 'lib/seaquel/ast/funcall.rb', line 8 def initialize name, args @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/seaquel/ast/funcall.rb', line 6 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/seaquel/ast/funcall.rb', line 6 def name @name end |
Instance Method Details
#visit(visitor) ⇒ Object
13 14 15 |
# File 'lib/seaquel/ast/funcall.rb', line 13 def visit visitor visitor.visit_funcall(name, args) end |