Class: Rubycc::Front::AST::InitAttributes
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::InitAttributes
- Defined in:
- lib/rubycc/front/ast.rb
Overview
What a function's __attribute__((constructor)) /
__attribute__((destructor)) asked for. Each field is nil when that
attribute never appeared, or the priority it carried — the run-order
number, with the parser's DEFAULT_INIT_PRIORITY standing for the
unnumbered spelling. A function may be both, as
"attribute((constructor,destructor))" is.
Instance Attribute Summary collapse
-
#constructor ⇒ Object
readonly
Returns the value of attribute constructor.
-
#destructor ⇒ Object
readonly
Returns the value of attribute destructor.
Instance Attribute Details
#constructor ⇒ Object (readonly)
Returns the value of attribute constructor
509 510 511 |
# File 'lib/rubycc/front/ast.rb', line 509 def constructor @constructor end |
#destructor ⇒ Object (readonly)
Returns the value of attribute destructor
509 510 511 |
# File 'lib/rubycc/front/ast.rb', line 509 def destructor @destructor end |