Class: Rubycc::Front::AST::Call
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Call
- Defined in:
- lib/rubycc/front/ast.rb
Overview
A function call "callee ( args )" (ISO C 6.5.2.2). callee is the
postfix-expression being called — an ordinary identifier for a direct
call ("f(x)"), but equally a dereference ("(*fp)(x)"), a subscript
("tablei"), a member access ("s.fp(x)") or any expression that
yields a function or a function pointer. args is an array of
expression nodes (the argument-expression-list), evaluated left to
right. The generator settles whether the callee is a direct function
designator (a plain :call) or a pointer value (an indirect call).
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#callee ⇒ Object
readonly
Returns the value of attribute callee.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args
321 322 323 |
# File 'lib/rubycc/front/ast.rb', line 321 def args @args end |
#callee ⇒ Object (readonly)
Returns the value of attribute callee
321 322 323 |
# File 'lib/rubycc/front/ast.rb', line 321 def callee @callee end |
#token ⇒ Object (readonly)
Returns the value of attribute token
321 322 323 |
# File 'lib/rubycc/front/ast.rb', line 321 def token @token end |