Class: MilkTea::AST::EventDecl
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::EventDecl
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#capacity ⇒ Object
readonly
Returns the value of attribute capacity.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#payload_type ⇒ Object
readonly
Returns the value of attribute payload_type.
-
#visibility ⇒ Object
readonly
Returns the value of attribute visibility.
Instance Method Summary collapse
-
#initialize(name:, capacity:, payload_type: nil, visibility:, attributes: [], line: nil, column: nil) ⇒ EventDecl
constructor
A new instance of EventDecl.
Constructor Details
#initialize(name:, capacity:, payload_type: nil, visibility:, attributes: [], line: nil, column: nil) ⇒ EventDecl
Returns a new instance of EventDecl.
79 |
# File 'lib/milk_tea/core/ast.rb', line 79 def initialize(name:, capacity:, payload_type: nil, visibility:, attributes: [], line: nil, column: nil) = super |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def attributes @attributes end |
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def capacity @capacity end |
#column ⇒ Object (readonly)
Returns the value of attribute column
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def name @name end |
#payload_type ⇒ Object (readonly)
Returns the value of attribute payload_type
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def payload_type @payload_type end |
#visibility ⇒ Object (readonly)
Returns the value of attribute visibility
78 79 80 |
# File 'lib/milk_tea/core/ast.rb', line 78 def visibility @visibility end |